X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Fmsg-header.tpl;h=2d1ea7a61275050aa29f0e899fa3d6846a505d9a;hb=8af78079cbabe530554950ac241b24bbdcaf2cb7;hp=b5c78345a318f4b570172db08edb3d82fa1f1237;hpb=a1305433b8110ebfa9d722ba4053f0292dadf22a;p=friendica.git diff --git a/view/msg-header.tpl b/view/msg-header.tpl old mode 100755 new mode 100644 index b5c78345a3..2d1ea7a612 --- a/view/msg-header.tpl +++ b/view/msg-header.tpl @@ -16,6 +16,7 @@ if(plaintext != 'none') { theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "center", theme_advanced_blockformats : "blockquote,code", + gecko_spellcheck : true, paste_text_sticky : true, entity_encoding : "raw", add_unload_trigger : false, @@ -30,10 +31,19 @@ if(plaintext != 'none') { setup : function(ed) { ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; + var editorId = ed.editorId; + var textarea = $('#'+editorId); + if (typeof(textarea.attr('tabindex')) != "undefined") { + $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex')); + textarea.attr('tabindex', null); + } }); } }); } +else + $("#prvmail-text").contact_autocomplete(baseurl+"/acl"); +