Browse Source

Added link

pull/262/head
Sebastian Stehle 9 years ago
parent
commit
bb0761749c
  1. 4
      src/Squidex/app/shared/components/rich-editor.component.ts

4
src/Squidex/app/shared/components/rich-editor.component.ts

@ -90,11 +90,11 @@ export class RichEditorComponent implements ControlValueAccessor, AfterViewInit,
return { return {
convert_fonts_to_spans: true, convert_fonts_to_spans: true,
convert_urls: false, convert_urls: false,
plugins: 'code image media', plugins: 'code image media link',
removed_menuitems: 'newdocument', removed_menuitems: 'newdocument',
resize: true, resize: true,
theme: 'modern', theme: 'modern',
toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | image media | assets', toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media | assets',
setup: (editor: any) => { setup: (editor: any) => {
self.tinyEditor = editor; self.tinyEditor = editor;
self.tinyEditor.setMode(this.isDisabled ? 'readonly' : 'design'); self.tinyEditor.setMode(this.isDisabled ? 'readonly' : 'design');

Loading…
Cancel
Save