Make TinyMCE editors resizable
This commit is contained in:
parent
a818ed2d49
commit
00c16b387a
|
@ -703,6 +703,7 @@ function setupFieldRichtext(){
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
paste_text_sticky : true,
|
paste_text_sticky : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
add_unload_trigger : false,
|
add_unload_trigger : false,
|
||||||
|
|
|
@ -14,6 +14,7 @@ tinyMCE.init({
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_styles : "blockquote,code",
|
theme_advanced_styles : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
gecko_spellcheck : true,
|
gecko_spellcheck : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
add_unload_trigger : false,
|
add_unload_trigger : false,
|
||||||
|
|
|
@ -90,6 +90,7 @@
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
gecko_spellcheck : true,
|
gecko_spellcheck : true,
|
||||||
paste_text_sticky : true,
|
paste_text_sticky : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
|
|
|
@ -34,6 +34,7 @@ function initEditor(cb){
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
gecko_spellcheck : true,
|
gecko_spellcheck : true,
|
||||||
paste_text_sticky : true,
|
paste_text_sticky : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
|
|
|
@ -17,6 +17,7 @@ if(plaintext != 'none') {
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
gecko_spellcheck : true,
|
gecko_spellcheck : true,
|
||||||
paste_text_sticky : true,
|
paste_text_sticky : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
|
|
|
@ -16,6 +16,7 @@ tinyMCE.init({
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
gecko_spellcheck : true,
|
gecko_spellcheck : true,
|
||||||
paste_text_sticky : true,
|
paste_text_sticky : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
|
|
|
@ -17,6 +17,7 @@ if(plaintext != 'none') {
|
||||||
theme_advanced_toolbar_location : "top",
|
theme_advanced_toolbar_location : "top",
|
||||||
theme_advanced_toolbar_align : "center",
|
theme_advanced_toolbar_align : "center",
|
||||||
theme_advanced_blockformats : "blockquote,code",
|
theme_advanced_blockformats : "blockquote,code",
|
||||||
|
theme_advanced_resizing : true,
|
||||||
gecko_spellcheck : true,
|
gecko_spellcheck : true,
|
||||||
paste_text_sticky : true,
|
paste_text_sticky : true,
|
||||||
entity_encoding : "raw",
|
entity_encoding : "raw",
|
||||||
|
|
Loading…
Reference in a new issue