Answer the question
In order to leave comments, you need to log in
How to insert html code into ckeditor plugin?
Greetings. There is a plugin:
https://codepen.io/anon/pen/ejdbem
This is a regular dropdown box.
At the moment, when choosing any name from the list, its id is put in the editor.
For example, how can I insert, for example, html code instead of id.
Here is one for example.
<a href="" data-html="true" data-trigger="hover" data-toggle="popover" data-content="<div class='hero-footnote'>
<img src='images/hero/sniper.svg' alt='sniper'>
<div class='hero-footnote__desc'>
<h3>Sniper</h3>
<p>Дальний бой</p>
<span>Carry — Nuker — Mider</span>
</div>
</div>"><img src="images/hero/sniper.svg" style="width: 26px; height: 15px; margin-top: 0; margin-right: 4px" alt="">Sniper</a>
Answer the question
In order to leave comments, you need to log in
Execute php script in it.
At the moment, when choosing any name from the list, its id is put in the editor.
For example, how can I insert, for example, html code instead of id.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question