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

Text after diagram #254

Open
adclaran opened this issue Mar 7, 2023 · 2 comments
Open

Text after diagram #254

adclaran opened this issue Mar 7, 2023 · 2 comments

Comments

@adclaran
Copy link

adclaran commented Mar 7, 2023

There is a 'default' paragraph with a class 'rpbchessboard-spacerAfter' that creates a unwanted space. How can I disable that or insert a text immediately after a diagram?
For the moment, I use display:none CSS

@yo35
Copy link
Owner

yo35 commented Mar 7, 2023

Hi,
There is no way to remove this paragraph. Its goal is precisely to ensure that there is the same vertical space after the diagram as there would after a "normal" paragraph. Similarly, there is another empty paragraph before the diagram (with class rpbchessboard-spacerBefore).

@adclaran
Copy link
Author

adclaran commented Mar 9, 2023

Thank you for the answer.

A text immediately after the diagram could be used for text lines like "Diagram 1", or "Find a move for White" etc. So, like a short description/label of the diagram. When there are more diagrams on the page, that could be really helpful.
I need that, so I use CSS to "display:none" your spacing paragraph.

Thank you for your plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants