Jump to content

Wrong order for text formatters in image descriptions?


Robin S
 Share

Recommended Posts

I'm using the core "Markdown/Parsedown Extra" and "Paragraph Stripper" text formatters on the descriptions of an image field, via the field setup in admin. The paragraph stripper needs to come after the markdown formatter, but it seems the order the text formatters are applied is the opposite of what it should be.

Edit: Sorry, my description of the problem was wrong there.

But it seems there is some incompatibility with "Markdown/Parsedown Extra" and "Paragraph Stripper" when used together on image descriptions. If markdown is first and the paragraph stripper second then the paragraphs are not stripped. If paragraph stripper is first and markdown second (i.e. the wrong order) then the markdown formatter isn't applied at all.

But the two text formatters seem to work correctly together for text fields.

Please see update below

post-2897-0-04409500-1450142530_thumb.pn

Edited by Cerulean
Link to comment
Share on other sites

Update: I think the problem is more general.

When using more than one text formatter (can be any text formatters) on a files or images field, only the first text formatter is applied. Can anyone confirm?

Edit: filed issue at Github.

Edited by Cerulean
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...