From 48d879147364e3ce66f929b8114809fa941d5041 Mon Sep 17 00:00:00 2001 From: haneul Date: Thu, 18 Dec 2008 16:52:25 +0000 Subject: [PATCH] 17519639: added attributes into whitelist via xquared configuration git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5129 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/skins/xquared/javascripts/xe_interface.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/editor/skins/xquared/javascripts/xe_interface.js b/modules/editor/skins/xquared/javascripts/xe_interface.js index 13a0aea26..3787bb7a3 100644 --- a/modules/editor/skins/xquared/javascripts/xe_interface.js +++ b/modules/editor/skins/xquared/javascripts/xe_interface.js @@ -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;