improve the highlight extension, add pasteRule and inputRule

This commit is contained in:
Hans Pagel
2020-10-27 22:14:40 +01:00
parent a1a3ecd2d0
commit 47109ed97f
3 changed files with 32 additions and 4 deletions

View File

@@ -69,7 +69,8 @@ export default {
content: `
<p>This isnt highlighted.</s></p>
<p><mark>But that one is.</mark></p>
<p><mark style="background-color: #ffa8a8;">And this is highlighted too, but in a different color.</mark></p>
<p><mark style="background-color: red;">And this is highlighted too, but in a different color.</mark></p>
<p><mark data-color="#ffa8a8">And this one has a data attribute.</mark></p>
`,
})
},