mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
17519639: added attributes into whitelist via xquared configuration
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5129 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ff391cf500
commit
48d8791473
1 changed files with 1 additions and 2 deletions
|
|
@ -30,8 +30,7 @@ function editorGetContent_xq(editor_sequence) {
|
|||
|
||||
function editorStart_xq(editor, element, editor_sequence, content_key, editor_height, primary_key) {
|
||||
editor = new xq.Editor(element);
|
||||
//editor.config.imagePathForDefaultToobar = request_uri+editor_path.substring(2)+'images/toolbar/';
|
||||
//editor.config.imagePathForContent = request_uri+editor_path.substring(2)+'images/content/';
|
||||
editor.config.whitelist.img = editor.config.whitelist.img.concat('editor_component', 'poll_srl','multimedia_src', 'auto_start', 'link_url', 'editor_sequence', 'use_folder', 'folder_opener', 'folder_closer', 'color', 'border_thickness', 'border_color', 'bg_color', 'border_style', 'margin', 'padding', 'bold', 'nx', 'ny', 'gx', 'gy', 'address', 'reg_sinpic', 'language','align');
|
||||
|
||||
editorRelKeys[editor_sequence] = new Array();
|
||||
editorRelKeys[editor_sequence]['editor'] = editor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue