Can't put an image in a section/span in a paragraph

Open
Feature
Editor: Euclid (Advanced)
Reported by
Those2Nerds
Opened
Assigned to
katerinach
Last activity
AcknowledgedMinor

Description

When using Euclid, custom sections create spans, necessary for adding things that should be in-line with the text. This is needed for adding custom icons: upload your image, put it in a custom section, and use CSS to shrink images in that section down to text size.   However, if that text is wrapped in paragraph bbcode, your section is ignored and you get only the image without your custom class. Instead of the HTML showing the text and span nested under the same paragraph element, you get a paragraph, then the image, then another paragraph, and the span/section is completely missing.   This seems to only happen when an image is within the span -- inserting a mid-paragraph span with only text works as expected.

Steps to Reproduce

  1. Write some text in an article.
  2. In the middle of it, add a section containing an img.
  3. View the article. You'll see your image in the middle of contiguous text, as desired.
  4. Now put the text inside paragraph markers.
  5. View the article. Your section has been ignored and your text has been split into separate paragraphs.

History

Comments and updates to this report

katerinach Assignee
Assigned katerinach
katerinach Assignee

Hey, thanks for reporting - we will be looking into making BBCode interactions better in the future, but I suggest you separate them for now since it might take a while for us to do so.

katerinach Assignee
Added tag Acknowledged
katerinach Assignee
Added tag Minor