|
@@ -569,12 +569,6 @@ export default {
|
|
|
// }
|
|
// }
|
|
|
// });
|
|
// });
|
|
|
|
|
|
|
|
- editor.on('focus', () => {
|
|
|
|
|
- const body = editor.getBody();
|
|
|
|
|
- if (body && body.hasAttribute('data-mce-placeholder')) {
|
|
|
|
|
- body.removeAttribute('data-mce-placeholder');
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
editor.on('blur', () => {
|
|
editor.on('blur', () => {
|
|
|
const body = editor.getBody();
|
|
const body = editor.getBody();
|
|
|
const content = editor.getContent({ format: 'text' }).trim();
|
|
const content = editor.getContent({ format: 'text' }).trim();
|