feat(v4): Update the help center portal design (#10296)

Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
Sivin Varghese
2024-10-24 10:39:36 +05:30
committed by GitHub
parent 6d3ecfe3c1
commit a3855a8d1d
144 changed files with 6376 additions and 6604 deletions

View File

@@ -46,6 +46,10 @@ export default {
editorId: { type: String, default: '' },
placeholder: { type: String, default: '' },
enabledMenuOptions: { type: Array, default: () => [] },
autofocus: {
type: Boolean,
default: true,
},
},
emits: ['blur', 'input', 'update:modelValue', 'keyup', 'focus', 'keydown'],
setup() {
@@ -86,7 +90,9 @@ export default {
this.createEditorView();
editorView.updateState(state);
this.focusEditorInputField();
if (this.autofocus) {
this.focusEditorInputField();
}
},
methods: {
contentFromEditor() {