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:
haneul 2008-12-18 16:52:25 +00:00
parent ff391cf500
commit 48d8791473

View file

@ -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;