L
L
Lolo Penguin2020-05-14 12:46:36
JavaScript
Lolo Penguin, 2020-05-14 12:46:36

How to prevent changes to certain elements in Contenteditable?

<div class="block_title_text" id="block_text" contenteditable="true">

<p placeholder="Текст"></p>
<ol>
<li></li>
<li></li>
<li></li>
</ol>

</div>


How in this code to forbid changing the list ol?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Shvets, 2020-05-14
@Xuxicheta

<ol contenteditable="false">

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question