mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
[Xquared] added align to allowed attributes
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3150 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8752115b69
commit
b396c811c7
1 changed files with 2 additions and 5 deletions
|
|
@ -30,11 +30,8 @@ function editorGetContent_xq(editor_sequence) {
|
|||
|
||||
function editorStart_xq(editor, element, editor_sequence, content_key, editor_height, primary_key) {
|
||||
editor = new xq.Editor(element);
|
||||
var additionalAttributes = ['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'];
|
||||
var additionalTags = ['embed', 'param', 'object'];
|
||||
additionalAttributes.each( function (item, index) {
|
||||
editor.config.allowedAttributes.push(item); } );
|
||||
additionalTags.each( function (item, index) { editor.config.allowedTags.push(item); } );
|
||||
editor.config.allowedAttributes.push('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');
|
||||
editor.config.allowedTags.push('embed', 'param', 'object');
|
||||
|
||||
editorRelKeys[editor_sequence] = new Array();
|
||||
editorRelKeys[editor_sequence]['editor'] = editor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue