3 ms·
Question. I'm building a .NET CMS, and want "on page editing". This entails having a string property mapping to, lets say, a headline. So while editing on page
by aliswe 5y ago
Question. I'm building a .NET CMS, and want "on page editing". This entails having a string property mapping to, lets say, a headline.
So while editing on page, I want to click the rendered heading and be able to select text and start editing it - without necessarily being able to influence the HTML in any way. Just the text, no styling.
tldr of above: dont allow ctrl+b or pasting of styled content (and probably prohibit enter presses or pasting newlines), only plain text.
Also, if the heading is an inline element inside the h1 element, and its bunking together with other stuff (icons or whatnot), editing of the headline span only should still work.
tldr - edit an elements text inline, in fact the element may be display:inline itself
I had immense difficulty getting this to work with Quill - it wasn't customizable enough. Would Slate work?