summernote: Custom style tags work with
but not with

Hi 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/

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (15 by maintainers)

Most upvoted comments

I would use the debugger to step through insertNode.