Disable markup inside certain tags?
See original GitHub issueIssue Description
Just been integrating this great plug-in into a project, but I’ve come up against a problem…
How can I disable mark-up within code sections?
For example, typing `_this_` immediately removes the <code>
and returns to standard italic.
It would be cool to be able to disable all markup within <code></code>
( or other sections too ) so I could have <code>_this_</code>
in the HTML and it appear like this _this_
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Disable browser markup in contenteditable - Stack Overflow
I want to disable browsers from adding anything other than HTML tags in my contenteditable div. Unequivocally, no ifs, ands, buts or candied...
Read more >How to disable elements in the markup. - MSDN - Microsoft
I want to disable certain elements in the markup in the aspx file, ... Pass the tag name you want to create to...
Read more >Remove all style, scripts, and HTML tags using BeautifulSoup
In this article, we are going to discuss how to remove all style, scripts, and HTML tags using beautiful soap. Required Modules: bs4:...
Read more >HTML attribute: disabled - HTML: HyperText Markup Language
The Boolean disabled attribute, when present, makes the element not mutable, focusable, or even submitted with the form.
Read more >HTML regex (regex remove html tags) - UI Bakery
HTML regex (regex remove html tags). HTML stands for HyperText Markup Language and is used to display information in the browser. HTML regular...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Cool! This would be SUPER helpful. ;o)
Hi… Thanks for checking this for me! 😮) There is definitely an issue, and maybe it’s only with italic ( <em> ) ?
To see what I mean, please go here: https://jsfiddle.net/buzrcnLv/ Firstly, create <code>test</code> ( using either </> button and typing test, or just type `test` ). Next, add _ to the start of test so you get <code>_test</code> Finally, add _ to the other side of _test and immediately, you go from <code>_test</code> to <em>test</em>.
The reason this is a problem is because, I am trying to type things like… <code>$test_variable_colour=36</code> and I cannot because it changes _variable_ to <em>variable</em>. ;o)
You can see me typing here in this video: https://www.dropbox.com/s/xj09i7yjiw2fs9b/JSFiddle_code_italic_problem.mp4?dl=0
Any idea what I can do to fix this? Kindest regards! Tim.