Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to center image captions #766

Open
LeMurphant opened this issue Sep 17, 2024 · 2 comments
Open

No way to center image captions #766

LeMurphant opened this issue Sep 17, 2024 · 2 comments
Assignees

Comments

@LeMurphant
Copy link
Collaborator

See for instance
francis
and
francis_doc
from https://aisafety.info/questions/NM1M/Isn't-the-real-concern-deepfakes

It's possible that centering is not the best way to use these captions, I'm open to some better way.

@mruwnik
Copy link
Collaborator

mruwnik commented Nov 15, 2024

this would probably require the parser to add custom html around these images... Should all images be centered, or only ones specifically centered in gdocs? Having all images be centered is a lot simpler, but is a a Design Choice

@LeMurphant
Copy link
Collaborator Author

I can't think of a situation where we would want a non-centered image, so go for centering them all.

We would want to center the caption as well. More generally, it seems like a good idea to test for centered text in Gdocs in the same way we test for blockquotes. I could write the code to parse it, but is it ok to add the HTML directly with something like this or will it get stripped?

<div style="text-align: center">
This text will be centered
</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants