Changes between Initial Version and Version 3 of Ticket #11902


Ignore:
Timestamp:
May 5, 2014, 1:56:34 PM (11 years ago)
Author:
Jakub Ś
Comment:

Couple of notes:

Why would ACF block math in one type

I didn't understand your description the first time. This is not ACF.

According to the specs the <math> element is considered valid phrased content

It actually falls under 3 categories http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#mathml but as you have already mentioned MathML is not used with this plugin so let's leave this part.

when I use the inline editor on phrased content like a <p>.

This is flow element.


Now the problem.
Paragraph is flow element that can only have phrasing elements inside it. When you initialize inline editor on Paragraph element, plugins like Format Dropdown, Table or Blockquote are completely removed so that tags like Div or H1 weren't inserted into Paragraph (not allowed in HTML).
Mathematics plugin inserts images and spans so it should work but for some reason it is disabled. This plugins isn't removed but it may be missing some code to make it enabled in elements like Paragraphs (just me guessing).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11902

    • Property Status changed from new to reopened
    • Property Summary changed from Mathematical content not available for phrased contenteditable fields. to Math plugin doesn't work when used in inline editor created on Paragraph.
    • Property Version changed from 4.4.0 to
    • Property Keywords inline math phrased disabled removed
  • Ticket #11902 – Description

    initial v3  
     1**Edit:** Please see comment:3[[BR]]
     2Math plugin is disabled when inline editor is created on paragraph.
     3
    14When using the inline editor on phrased content[https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content] the option to add math with the Mathematical Content plugin is disabled.
    25
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy