'); }, imageUploadError: function(json, xhr) { alert(json.message); } } }); /* $(el).ckeditor(function() {}, { // removePlugins: 'elementspath,scayt,menubutton,contextmenu', removePlugins: 'liststyle,tabletools,contextmenu', //plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,iframe,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,vimeo,youtube', //toolbar: [['Bold', 'Italic', 'BulletedList', 'Link', 'Image', 'Youtube', 'Vimeo' ]], plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,iframe,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,archinect', toolbar: [['Bold', 'Italic', 'BulletedList','NumberedList', 'Link', 'Image']], resize_dir: 'vertical', resize_enabled: false, //disableObjectResizing: true, forcePasteAsPlainText: true, disableNativeSpellChecker: false, scayt_autoStartup: false, skin: 'v2', height: 300, linkShowAdvancedTab: false, linkShowTargetTab: false, language: 'en', customConfig : '', toolbarCanCollapse: false }); */ } function arc_editor_feature(el) { $(el).redactor({ minHeight: 300, pasteBlockTags: ['ul', 'ol', 'li', 'p'], pasteInlineTags: ['strong', 'br', 'b', 'em', 'i'], imageUpload: '/redactor/upload', plugins: ['source', 'imagemanager'], buttons: ['html', 'format', 'bold', 'italic', 'underline', 'lists', 'link', 'image'], formatting: ['p'], formattingAdd: { "figcaption": { title: 'Caption', args: ['p', 'class', 'figcaption', 'toggle'] }, "subheading": { title: 'Subheading', args: ['h3', 'class', 'subheading', 'toggle'] }, "pullquote-left": { title: 'Quote Left', args: ['blockquote', 'class', 'pullquote-left', 'toggle'] }, "pullquote-centered": { title: 'Quote Centered', args: ['blockquote', 'class', 'pullquote-center', 'toggle'] }, "pullquote-right": { title: 'Quote Right', args: ['blockquote', 'class', 'pullquote-right', 'toggle'] }, "chat-question": { title: 'Chat Question', args: ['p', 'class', 'chat-question', 'toggle'] }, "chat-answer": { title: 'Chat Answer', args: ['p', 'class', 'chat-answer', 'toggle'] }, }, callbacks: { imageUpload: function(image, json) { $(image).replaceWith('

'); }, imageUploadError: function(json, xhr) { alert(json.message); } } }); /* $(el).ckeditor(function() {}, { // removePlugins: 'elementspath,scayt,menubutton,contextmenu', removePlugins: 'liststyle,tabletools,contextmenu', //plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,iframe,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,vimeo,youtube', //toolbar: [['Bold', 'Italic', 'BulletedList', 'Link', 'Image', 'Youtube', 'Vimeo' ]], plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,htmldataprocessor,iframe,image,indent,justify,keystrokes,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,archinect', toolbar: [['Bold', 'Italic', 'BulletedList','NumberedList' , 'Link', 'Image','FontSize','TextColor']], resize_dir: 'vertical', resize_enabled: true, //disableObjectResizing: true, forcePasteAsPlainText: true, disableNativeSpellChecker: false, scayt_autoStartup: false, skin: 'v2', height: 300, toolbarCanCollapse: false }); */ } function arc_remove_editor(el) { $(el).redactor('core.destroy'); /* $(el).ckeditor(function(){ this.destroy(); }); */ } function arc_editor_423(el, extra_params) { if (extra_params === undefined) { extra_params = false; } $('#' + el).redactor({ minHeight: 200, pasteBlockTags: ['ul', 'ol', 'li', 'p'], pasteInlineTags: ['strong', 'br', 'b', 'em', 'i'], imageUpload: '/redactor/upload', plugins: ['imagemanager'], buttons: ['bold', 'italic', 'lists', 'link', 'image'], imageUploadFields: extra_params, callbacks: { imageUpload: function(image, json) { $(image).replaceWith('

'); }, imageUploadError: function(json, xhr) { alert(json.message); } } }); /* CKEDITOR.replace(el , { allowedContent: 'p br b i ol ul li strong em center; a[*](*); img[*]; iframe[*]', removePlugins: 'liststyle,tabletools,contextmenu', plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,iframe,image,indent,justify,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,archinect,wysiwygarea', toolbar: [['Bold', 'Italic', 'BulletedList','NumberedList', 'Link', 'Image']], resize_dir: 'vertical', resize_enabled: true, //forcePasteAsPlainText: true, disableNativeSpellChecker: false, scayt_autoStartup: false, skin: 'v2', height: 300, linkShowAdvancedTab: false, linkShowTargetTab: false, language: 'en', customConfig : '', toolbarCanCollapse: false }); */ } function arc_editor_basic(el) { $('#' + el).redactor({ minHeight: 200, pasteBlockTags: ['ul', 'ol', 'li', 'p'], pasteInlineTags: ['strong', 'br', 'b', 'em', 'i'], buttons: ['bold', 'italic', 'lists', 'link'] }); } function arc_editor_423_admin(el, extra_params) { if (extra_params === undefined) { extra_params = false; } $('#' + el).redactor({ minHeight: 300, pasteBlockTags: ['ul', 'ol', 'li', 'p'], pasteInlineTags: ['strong', 'br', 'b', 'em', 'i'], imageUpload: '/redactor/upload', plugins: ['codemirror', 'imagemanager', 'removeformat', 'alignment'], codemirror: { lineNumbers: true, lineWrapping: true, mode: 'xml', indentUnit: 4 }, buttons: ['html', 'format', 'bold', 'italic', 'underline', 'lists', 'link', 'image'], formatting: ['p'], formattingAdd: { "figcaption": { title: 'Caption', args: ['p', 'class', 'figcaption', 'toggle'] }, "subheading": { title: 'Subheading', args: ['h3', 'class', 'subheading', 'toggle'] }, "pullquote-left": { title: 'Quote Left', args: ['blockquote', 'class', 'pullquote-left', 'toggle'] }, "pullquote-centered": { title: 'Quote Centered', args: ['blockquote', 'class', 'pullquote-center', 'toggle'] }, "pullquote-right": { title: 'Quote Right', args: ['blockquote', 'class', 'pullquote-right', 'toggle'] }, "chat-question": { title: 'Chat Question', args: ['p', 'class', 'chat-question', 'toggle'] }, "chat-answer": { title: 'Chat Answer', args: ['p', 'class', 'chat-answer', 'toggle'] }, }, imageUploadFields: extra_params, callbacks: { imageUpload: function(image, json) { $(image).replaceWith('

'); }, imageUploadError: function(json, xhr) { alert(json.message); } } }); /* CKEDITOR.replace(el , { allowedContent: 'p br b i ol ul li strong em center; a[*]{*}(*); img[*]; iframe[*]', removePlugins: 'liststyle,tabletools,contextmenu', plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,iframe,image,indent,justify,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,archinect,wysiwygarea', toolbar: [['Bold', 'Italic', 'BulletedList','NumberedList', 'Link', 'Image', 'Source']], resize_dir: 'vertical', resize_enabled: true, //forcePasteAsPlainText: true, disableNativeSpellChecker: false, scayt_autoStartup: false, skin: 'v2', height: 300, linkShowAdvancedTab: false, linkShowTargetTab: false, language: 'en', customConfig : '', toolbarCanCollapse: false }); */ } function arc_editor_feature_423(el, extra_params) { if (extra_params === undefined) { extra_params = false; } $('#' + el).redactor({ minHeight: 300, pasteBlockTags: ['ul', 'ol', 'li', 'p'], pasteInlineTags: ['strong', 'br', 'b', 'em', 'i'], imageUpload: '/redactor/upload', plugins: ['source', 'imagemanager'], buttons: ['html', 'format', 'bold', 'italic', 'underline', 'lists', 'link', 'image'], formatting: ['p'], formattingAdd: { "figcaption": { title: 'Caption', args: ['p', 'class', 'figcaption', 'toggle'] }, "subheading": { title: 'Subheading', args: ['h3', 'class', 'subheading', 'toggle'] }, "pullquote-left": { title: 'Quote Left', args: ['blockquote', 'class', 'pullquote-left', 'toggle'] }, "pullquote-centered": { title: 'Quote Centered', args: ['blockquote', 'class', 'pullquote-center', 'toggle'] }, "pullquote-right": { title: 'Quote Right', args: ['blockquote', 'class', 'pullquote-right', 'toggle'] }, "chat-question": { title: 'Chat Question', args: ['p', 'class', 'chat-question', 'toggle'] }, "chat-answer": { title: 'Chat Answer', args: ['p', 'class', 'chat-answer', 'toggle'] }, }, imageUploadFields: extra_params, callbacks: { imageUpload: function(image, json) { $(image).replaceWith('

'); }, imageUploadError: function(json, xhr) { alert(json.message); } } }); /* CKEDITOR.replace(el , { allowedContent: 'p br b i ol ul li strong em center; a[*]{*}(*); img[*]; span[*]{*}(*); iframe[*]', removePlugins: 'liststyle,tabletools,contextmenu', plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,iframe,image,indent,justify,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,archinect,wysiwygarea', toolbar: [['Bold', 'Italic', 'BulletedList','NumberedList' , 'Link', 'Image','FontSize','TextColor']], resize_dir: 'vertical', resize_enabled: true, //disableObjectResizing: true, //forcePasteAsPlainText: true, disableNativeSpellChecker: false, scayt_autoStartup: false, skin: 'v2', height: 300, linkShowAdvancedTab: false, linkShowTargetTab: false, language: 'en', customConfig : '', toolbarCanCollapse: false }); */ } function arc_editor_feature_423_admin(el, extra_params) { if (extra_params === undefined) { extra_params = false; } $('#' + el).redactor({ minHeight: 300, pasteBlockTags: ['ul', 'ol', 'li', 'p'], pasteInlineTags: ['strong', 'br', 'b', 'em', 'i'], imageUpload: '/redactor/upload', plugins: ['codemirror', 'imagemanager', 'removeformat', 'alignment'], codemirror: { lineNumbers: true, lineWrapping: true, mode: 'xml', indentUnit: 4 }, buttons: ['html', 'format', 'bold', 'italic', 'underline', 'lists', 'link', 'image'], formatting: ['p'], formattingAdd: { "figcaption": { title: 'Caption', args: ['p', 'class', 'figcaption', 'toggle'] }, "subheading": { title: 'Subheading', args: ['h3', 'class', 'subheading', 'toggle'] }, "pullquote-left": { title: 'Quote Left', args: ['blockquote', 'class', 'pullquote-left', 'toggle'] }, "pullquote-centered": { title: 'Quote Centered', args: ['blockquote', 'class', 'pullquote-center', 'toggle'] }, "pullquote-right": { title: 'Quote Right', args: ['blockquote', 'class', 'pullquote-right', 'toggle'] }, "chat-question": { title: 'Chat Question', args: ['p', 'class', 'chat-question', 'toggle'] }, "chat-answer": { title: 'Chat Answer', args: ['p', 'class', 'chat-answer', 'toggle'] }, }, imageUploadFields: extra_params, callbacks: { imageUpload: function(image, json) { $(image).replaceWith('

'); }, imageUploadError: function(json, xhr) { alert(json.message); } } }); /* CKEDITOR.replace(el , { allowedContent: 'p br b i ol ul li strong em center; a[*]{*}(*); img[*]; span[*]{*}(*); iframe[*]', removePlugins: 'liststyle,tabletools,contextmenu', plugins:'a11yhelp,basicstyles,bidi,blockquote,button,clipboard,colorbutton,colordialog,dialogadvtab,div,enterkey,entities,filebrowser,find,flash,font,format,forms,horizontalrule,iframe,image,indent,justify,link,list,maximize,newpage,pagebreak,pastefromword,pastetext,popup,preview,print,removeformat,resize,save,smiley,showblocks,showborders,sourcearea,stylescombo,table,specialchar,tab,templates,toolbar,undo,wysiwygarea,wsc,archinect,wysiwygarea', toolbar: [['Bold', 'Italic', 'BulletedList','NumberedList' , 'Link', 'Image','FontSize','TextColor', 'Source']], resize_dir: 'vertical', resize_enabled: true, //disableObjectResizing: true, //forcePasteAsPlainText: true, disableNativeSpellChecker: false, scayt_autoStartup: false, skin: 'v2', height: 300, linkShowAdvancedTab: false, linkShowTargetTab: false, language: 'en', customConfig : '', toolbarCanCollapse: false }); */ } function arc_remove_editor_423 (el) { $(el).redactor('core.destroy'); /* if(CKEDITOR.instances[el]) { CKEDITOR.instances[el].destroy(); } */ }
Archinect
  • ×Search in: