mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-07 11:58:05 +08:00
wording
This commit is contained in:
parent
443045bbdf
commit
ce287ff22f
@ -27,7 +27,7 @@ export default {
|
|||||||
],
|
],
|
||||||
content: `
|
content: `
|
||||||
<h1>This is a fixed title.</h1>
|
<h1>This is a fixed title.</h1>
|
||||||
<p>With ProseMirror you can force a document layout. Try to remove it. It's not possible.</p>
|
<p>With ProseMirror you can force a document layout. Try to remove this title it – it's not possible.</p>
|
||||||
`,
|
`,
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
@ -39,7 +39,8 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.editor p.is-empty:first-child::before {
|
.editor h1.is-empty::before,
|
||||||
|
.editor p.is-empty::before {
|
||||||
content: attr(data-empty-text);
|
content: attr(data-empty-text);
|
||||||
float: left;
|
float: left;
|
||||||
color: #aaa;
|
color: #aaa;
|
||||||
|
Loading…
Reference in New Issue
Block a user