How to replace <p> by <span>?
See original GitHub issueHow do I configure the plugin to have a “span” element instead of “p” inside the container?
For example:
<div data-editable data-name="text"><span>Text</span></div>
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
changing <span> to <p> through DOM - jquery - Stack Overflow
I am receiving a piece of HTML code from a plugin and I want to change all instances of <span class="post-stats"> to <p...
Read more >Replace html tag <span class= by <p class= - Super User
That is why it is not working as intended when you replace. Try the following: Find what: </p>\s+.*\K<span class=("text_obisnuit">.*)< ...
Read more >replacing <span> and <p> in visualformat — OpenText - Forums
I've played around a bit removing the <p> tags and then applying styles with <span> tags and then in perl converting the <span>...
Read more >How to replace an underline text in a p tag using span
I have the following code: <div id="instru_topp"> <h3>The topping</h3> <p><span class="especial">Mix</span> all the ...
Read more >How to change the span from HTML in CSS? - Codecademy
I've bumped up the line-height and added color and border to the P so we can see more clearly what setting the background...
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 FreeTop 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
Top GitHub Comments
<div><span data-fixture data-name="text" data-ce-tag="p">Text</span></div>
Thank you! That’s what I need!@babenkoma just thinking if you don’t want the user to be able to be able to create new paragraphs at all you could use a fixture, e.g: