section_text button and section_textarea more menu
This commit is contained in:
@@ -61,6 +61,18 @@ export default {
|
||||
vtinymce: tinymceConfig,
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
modalBox: function() {
|
||||
if (this.modalBox) {
|
||||
document.addEventListener('focusin', (e) => {
|
||||
if (e.target.closest(".tox-tinymce-aux, .moxman-window, .tam-assetmanager-root") !== null) {
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
});
|
||||
}
|
||||
console.log('focus');
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
ctext: function () {
|
||||
return this.value.text?this.value.text.replace(/<(?:.|\n)*?>/gm, ''):'';
|
||||
|
||||
Reference in New Issue
Block a user