Browse Source

Fix drag and drop in rich editor.

pull/484/head
Sebastian 6 years ago
parent
commit
afb710542e
  1. 3
      frontend/app/shared/components/forms/rich-editor.component.ts

3
frontend/app/shared/components/forms/rich-editor.component.ts

@ -101,6 +101,7 @@ export class RichEditorComponent extends StatefulControlComponent<undefined, str
return { return {
convert_fonts_to_spans: true, convert_fonts_to_spans: true,
convert_urls: false, convert_urls: false,
paste_data_images: true,
plugins: 'code image media link lists advlist paste', plugins: 'code image media link lists advlist paste',
min_height: 300, min_height: 300,
max_height: 800, max_height: 800,
@ -169,6 +170,8 @@ export class RichEditorComponent extends StatefulControlComponent<undefined, str
} }
} }
} }
return false;
}); });
self.tinyEditor.on('blur', () => { self.tinyEditor.on('blur', () => {

Loading…
Cancel
Save