quill editor styling
This commit is contained in:
@ -80,11 +80,15 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
content (newVal) {
|
||||
content (newVal) {
|
||||
// #337y1z3 This issue reason <p> tag broken email template
|
||||
newVal = newVal.replace(/(<p[^>]+?>|<p>|<\/p>)/img, "");
|
||||
|
||||
this.$emit('input', newVal);
|
||||
|
||||
document.querySelectorAll('.ql-tooltip').forEach((tooltip) => {
|
||||
tooltip.querySelector('input').focus();
|
||||
});
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user