mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-14 18:49:02 +08:00
wording
This commit is contained in:
parent
443045bbdf
commit
ce287ff22f
@ -27,7 +27,7 @@ export default {
|
||||
],
|
||||
content: `
|
||||
<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>
|
||||
|
||||
<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);
|
||||
float: left;
|
||||
color: #aaa;
|
||||
|
Loading…
Reference in New Issue
Block a user