gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

TinyMCE: try and expand inline boundaries to more elements

Open jasmussen opened this issue 9 years ago • 4 comments

In #207 which is on track to ship with WordPress 4.8 in May, TinyMCE will add an inline boundary feature for links and code, which you can test here: https://wordpress.github.io/gutenberg/tinymce/

This is a good first step. But we should explore also adding the inline boundary feature to b, i, em, strong, del, ins.

We might find this is not desirable as those elements tend to be nested. But we should absolutely try it at least in prototype form, and see how it survives complex markup.

jasmussen avatar Apr 20 '17 08:04 jasmussen

This has been fixed and a new option that allows you to expand the default list of elements to other things than just code and links. If this is a good idea from a UX standpoint is another question. :) https://www.tinymce.com/docs/configure/content-appearance/#inline_boundaries_selector

spocke avatar Aug 31 '17 07:08 spocke

This has not been tried in Gutenberg yet AFAIK.

Re-opening this issue and assigning to a James to create a "TRY" branch for.

You can view the interaction at this CodePen: https://codepen.io/tinymce/live/EwLYBM

androb avatar Oct 09 '17 19:10 androb

PR open in #2947

BoardJames avatar Oct 10 '17 00:10 BoardJames

Should now be fixed in master.

BoardJames avatar Oct 11 '17 07:10 BoardJames