mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
got et2_htmlarea/TinyMCE working in edit resources
This commit is contained in:
parent
9ea598070e
commit
e4ac5b2268
@ -19,7 +19,7 @@ import { ClassWithAttributes } from "./et2_core_inheritance";
|
||||
import { et2_register_widget, et2_createWidget } from "./et2_core_widget";
|
||||
import { et2_no_init } from "./et2_core_common";
|
||||
import { egw } from "../jsapi/egw_global";
|
||||
import { tinymce } from "../../../vendor/tinymce/tinymce/tinymce.min.js";
|
||||
import "../../../vendor/tinymce/tinymce/tinymce.min.js";
|
||||
import { etemplate2 } from "./etemplate2";
|
||||
/**
|
||||
* @augments et2_inputWidget
|
||||
@ -70,6 +70,7 @@ export class et2_htmlarea extends et2_editableWidget {
|
||||
}
|
||||
// default settings for initialization
|
||||
let settings = {
|
||||
base_url: egw.webserverUrl + '/vendor/tinymce/tinymce',
|
||||
target: this.htmlNode[0],
|
||||
body_id: this.dom_id + '_htmlarea',
|
||||
menubar: false,
|
||||
|
@ -23,7 +23,7 @@ import {et2_IResizeable} from "./et2_core_interfaces";
|
||||
import {et2_no_init} from "./et2_core_common";
|
||||
import {egw} from "../jsapi/egw_global";
|
||||
import {et2_vfsSelect} from "./et2_widget_vfs";
|
||||
import {tinymce} from "../../../vendor/tinymce/tinymce/tinymce.min.js";
|
||||
import "../../../vendor/tinymce/tinymce/tinymce.min.js";
|
||||
import {etemplate2} from "./etemplate2";
|
||||
|
||||
/**
|
||||
@ -221,6 +221,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
||||
}
|
||||
// default settings for initialization
|
||||
let settings = {
|
||||
base_url: egw.webserverUrl + '/vendor/tinymce/tinymce',
|
||||
target: this.htmlNode[0],
|
||||
body_id: this.dom_id + '_htmlarea',
|
||||
menubar: false,
|
||||
|
Loading…
Reference in New Issue
Block a user