question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom style tags work with <blockquote> but not with <ins><del>

See original GitHub issue

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/

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:23 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
1der1commented, Sep 18, 2022

I would use the debugger to step through insertNode.

0reactions
DiemenDesigncommented, Sep 26, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Strange issue with padding in CSS blockquote styling
The line that begins with padding: controls the padding on the top and bottom of the block quote. For some reason, it doesn't...
Read more >
Simple and Nice Blockquote Styling - CSS-Tricks
It took me a while to get rid of the bug, but I think it works now. display:inline-block;color:#FFF;height:25px;font-size:2.8em;line-height:80px ...
Read more >
Topic: Blockquote adds tag which overrides CSS - Themeco
Hello, this is how I have styled the CSS for my blockquotes: blockquote {font-family: “Quarto A”, “Quarto B” !important; font-style: italic ...
Read more >
Long Live the Q Tag - A List Apart
The Q tag is neccessary for semantic markup and for screen readers. Using the blockquote tag instead. Using an incorrect tag is not...
Read more >
The Standard Ebooks Manual of Style
src/epub/css/core.css is distributed with all ebooks and is not edited. ... work) are italicized and given an IETF languate tag in a custom...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found