mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-13 00:41:59 +03:00
Lexical: Started loading real content, Improved html loading
Added more styling/layout for buttons and main content area
This commit is contained in:
@ -5,10 +5,10 @@ export class WysiwygEditor extends Component {
|
||||
setup() {
|
||||
this.elem = this.$el;
|
||||
this.editContainer = this.$refs.editContainer;
|
||||
this.editContent = this.$refs.editContent;
|
||||
this.input = this.$refs.input;
|
||||
|
||||
window.importVersioned('wysiwyg').then(wysiwyg => {
|
||||
const editorContent = this.editContent.textContent;
|
||||
const editorContent = this.input.value;
|
||||
wysiwyg.createPageEditorInstance(this.editContainer, editorContent);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user