medium-editor icon indicating copy to clipboard operation
medium-editor copied to clipboard

Support for wrapping/unwrapping a selection with elements and or css classes

Open nmielnik opened this issue 9 years ago • 1 comments

A utility that allows us to wrap a selection with an element, or an element with a class name, would be extremely useful in other parts of our code. It would also allow us to do things like changing font name, font size, background color, etc. in a much simpler way.

In short, adding a utility method to wrap selection in an element and/or class is one of the top 2 or 3 things I think would help our code base, and that's without even thinking about the demo. That's primarily why I would like this class applier functionality.

nmielnik avatar Dec 17 '15 01:12 nmielnik

+1

ksorv avatar Jun 05 '20 13:06 ksorv