1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-10 21:23:07 +03:00

Updated markdown editor to use svg drawio images

- Also tweaked page editor to not error when the current user does not
  have permission to change editor type.
This commit is contained in:
Dan Brown
2022-05-23 14:38:34 +01:00
parent 5fd8e7e0e9
commit 641a26cdf7
2 changed files with 9 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ class PageEditor {
this.draftDisplayIcon = this.$refs.draftDisplayIcon;
this.changelogInput = this.$refs.changelogInput;
this.changelogDisplay = this.$refs.changelogDisplay;
this.changeEditorButtons = this.$manyRefs.changeEditor;
this.changeEditorButtons = this.$manyRefs.changeEditor || [];
this.switchDialogContainer = this.$refs.switchDialog;
// Translations