Custom style tags work with <blockquote> but not with <ins><del>
See original GitHub issueHi there, not sure where to put this: Is it a bug, a feauture request, a documentation issue? I tried to customize the style tags according to https://summernote.org/deep-dive/#custom-styles
This worked fine! Then I tried to add a new style for <ins>
and <del>
like this:
{ title: 'Inserted', tag: 'ins', className: 'ins', value: 'ins' }
But when choosing the newly defined style from the drop down select in the editor, nothing happens, nothing gets added to the raw html. I.e. when switching to “Code view”, no markup is inserted. It works fine for blockquote, but does not seem to work for other semantic markup like <ins>
,<del>
,<address>
,<summary
> etc. ?
Is it just not supported by summernote or am I missing something?
I am using the lastest version (CDN) as described here: https://summernote.org/getting-started/
Issue Analytics
- State:
- Created a year ago
- Comments:23 (14 by maintainers)
Top GitHub Comments
I would use the debugger to step through
insertNode
.https://github.com/summernote/skunkworks You will need to build the project. Eventually, as I work through things, I’ll be doing a major update to the this repository so each of the Bootstrap versions have the changes.