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

Render gallery container in TextpicAbove and TextmediaAbove only if files exist #1441

Open
Hawkeye1909 opened this issue Nov 9, 2023 · 0 comments · May be fixed by #1442
Open

Render gallery container in TextpicAbove and TextmediaAbove only if files exist #1441

Hawkeye1909 opened this issue Nov 9, 2023 · 0 comments · May be fixed by #1442
Labels

Comments

@Hawkeye1909
Copy link
Contributor

Feature Request

Is your feature request related to a problem? Please describe

Sometimes editors add CE like textpic but do not add an image at all. Since the default setting for 'imageorient' is 'Above, center' (0) and due to the fact a gap is added between gallery and text (here), there is a not needed space above the text when the container is rendered.

Describe the solution you'd like

Only render the gallery container in the files TextpicAbove.html and TextmediaAbove.html if files exist to prevent the gap.

@Hawkeye1909 Hawkeye1909 linked a pull request Nov 9, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant