spellchecker and dates
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<script>
|
||||
export let value;
|
||||
</script>
|
||||
|
||||
{value}
|
||||
import {readableDate,readableDatetime} from "../../../helpers.js";
|
||||
|
||||
export let value;
|
||||
|
||||
</script>
|
||||
<div title={readableDatetime(value)} data-bs-toggle="tooltip" data-bs-placement="top">
|
||||
{readableDate(value)}
|
||||
</div>
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
value = e.state.doc.toString();
|
||||
}
|
||||
}),
|
||||
EditorView.lineWrapping
|
||||
|
||||
EditorView.lineWrapping,
|
||||
EditorView.contentAttributes.of({spellcheck: "true"})
|
||||
],
|
||||
});
|
||||
|
||||
@@ -49,6 +49,9 @@
|
||||
state,
|
||||
parent: parentElement,
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
|
||||
onDestroy(() => {
|
||||
|
||||
Reference in New Issue
Block a user