style: remove comments

This commit is contained in:
Seviche CC 2023-04-01 18:30:27 +08:00
parent 274a2b6733
commit 864fc716f9
Signed by: SevicheCC
GPG key ID: C577000000000000

View file

@ -74,8 +74,6 @@ const editor = useEditor({
},
}),
Placeholder.configure({
// Use different placeholders depending on the node type:
// placeholder: 'Write something '
placeholder: ({ node }) => {
if (node.type.name === 'heading') {
switch (node.attrs.level) {
@ -107,13 +105,6 @@ const editor = useEditor({
</template>
<style lang="scss">
/* Basic editor styles */
.ProseMirror {
> * + * {
margin-top: 0.75em;
}
}
/* Placeholder (at the top) */
.ProseMirror p.is-editor-empty:first-child::before {
content: attr(data-placeholder);