code style

This commit is contained in:
Philipp Kühn
2020-11-30 14:24:48 +01:00
parent a3d21ca7eb
commit 4fbdb0ff0c
2 changed files with 6 additions and 6 deletions

View File

@@ -67,11 +67,11 @@ export default {
Highlight,
],
content: `
<p>This isnt highlighted.</s></p>
<p><mark>But that one is.</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>
`,
<p>This isnt highlighted.</s></p>
<p><mark>But that one is.</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>
`,
})
},

View File

@@ -47,7 +47,7 @@ new Editor({
extensions: [
...defaultExtensions(),
Highlight,
]
],
})
```