Revert "Fixed problems qith html editor in textareas in visual console"
Cause: https://www.tinymce.com/docs/plugins/bbcode/ and problems with labels in visual console.
This reverts commit 06e37132a8
.
This commit is contained in:
parent
af5b3ec31f
commit
25fedd8e84
|
@ -1067,13 +1067,13 @@ function hiddenFields(item) {
|
|||
enterprise_hiddenFields(item);
|
||||
}
|
||||
|
||||
//~ var code_control = tinyMCE.activeEditor.controlManager.controls['text-label_code'];
|
||||
//~ if (item == 'label') {
|
||||
//~ code_control.setDisabled(false);
|
||||
//~ }
|
||||
//~ else {
|
||||
//~ code_control.setDisabled(true);
|
||||
//~ }
|
||||
var code_control = tinyMCE.activeEditor.controlManager.controls['text-label_code'];
|
||||
if (item == 'label') {
|
||||
code_control.setDisabled(false);
|
||||
}
|
||||
else {
|
||||
code_control.setDisabled(true);
|
||||
}
|
||||
}
|
||||
|
||||
function cleanFields(item) {
|
||||
|
|
|
@ -208,7 +208,7 @@ ui_require_javascript_file ('encode_decode_base64');
|
|||
width: "400",
|
||||
height: "200",
|
||||
nowrap: true,
|
||||
plugins : "bbcode",
|
||||
plugins : "noneditable",
|
||||
inline_styles : true,
|
||||
valid_children : "+body[style]",
|
||||
element_format : "html",
|
||||
|
|
Loading…
Reference in New Issue