/** * @license Copyright (c) 2003-2017, Cksource-frederico Knabben. All rights reserved. * for licensing, see LICENSE.MD or Http://ckeditor.com/license*/Ckeditor.editorconfig=function(config) {//Error Config:liteedite,audio,imgupload,simple-ruler,uploadcare,stylesheetparser-fixed,imgur, Ckeditortablecellsselection,bootstraptable,balloonpanel,cssanim,enhancedcolorbuttton,allmedias, //All config:config.extraplugins= ' Dialogui,dialog,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,button, Toolbar,notification,clipboard,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,contextmenu , Copyformatting,div,resize,elementspath,enterkey,entities,popup,filebrowser,find,fakeobjects,flash, Floatingspace,listblock,richcombo,font,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent, Indentblock,indentlist,smiley,justify,menubutton,language,link,list,liststyle,magicline,maximize,newpage, Pagebreak,pastetext,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea, Specialchar,scayt,stylescombo,tab,table,tabletools,tableselection,undo,wsc,lineutils,widgetselection,widget, Filetools,notificationaggregator,uploadwidget,uploadimage,about,maxheight,oembed,mediaembed,embedbase, Tliyoutube,nbsp,noabp,tliyoutube2,numericinput,mrmonkey,onchange,embed,pastecode,pastefromexcel, Pastefromgoogledoc,osem_googlemaps,pastebase64, Page2images,lightbox,liveedit,lite,lineheight,loremipsum,locationmap,leaflet,letterspacing,basewidget, Layoutmanager,markdown,mathjax,niftyimages,placeholder,placeholder_select,performx,qrc,quran,resizewithwindow, Removespan,replacetagnamebybsquochoai,embedsemantic,scribens,quicktable,selectallcontextmenu,ccmssourcedialog, Audio,html5validation,iframedialog,html5video,imgupload,fastimage,eqneditor,fixed,fmatheditor,floating-tools, Format_buttons,glossary,wlpheix,gg,ckeditor-gwf-plugin,xmas,htmlbuttons,googlethisterm,googledocs,imgbrowse, Imagebrowser,imageresize,imagerotate,imagecustomuploader,imageuploader,imagepaste,imgur,inlinecancel,insertpre , closebtn,internallink,textselection,inserthtml4x,symbol,mathedit,codesnippet,prism,sharedspace,showprotected, Simplebutton,html5audio,simple-image-browser,simplelink,sketchfab,soundplayer,spimage,image2,imageresponsive, Simpleimageupload,simple-ruler,slideshow,smallerselection,spoiler,simpleimage,sourcedialog,label, Extraformattributes,stat,backup,stRinsert,stylesheetparser,tabbedimagebrowser,ckeditortablecellsselection,syntaxhighlight,tabletoolstoolbar, Tableresize,textsignature,xdsoft_translater,text2speech,staticspace,texttransform,stylesheetparser-fixed, Toolbarswitch,uicolor,uploadfile,videoembed,uploadcare,widgetcontextmenu,wenzgmap,videosnapshot,token, Tweetabletext,xml,ajax,xmltemplates,emojione,divarea,docprops,docfont,devtools,dropdownmenumanager,easykeymap, Custimage,crossreference,niftytimers,ccmsconfighelper,pre,cssanim,codemirror,codetag,confighelper, Codesnippetgeshi,ckwebspeech,cleanuploader,footnotes,ckeditor_fa,chart,cavacnote,ckawesome,brclear, Bootstraptabs,bootstraptable,pbckcode,collapsibleitem,accordionlist,glyphicons,bt_table,btgrid,btbutton, Btquicktable,bootstrapvisibility,balloonpanel,backgrounds,bgimage,base64image,autosave,bbcode,autocorrect, AUTOGROW,AUTOLINK,AUTOEMBED,DESELECT,WORDCOUNT,YOUTUBE,ENHANCEDCOLORBUTTTON,VIDEODETECTOR,ALLMEDIAS,CCMSACDC, Zoom,allowsave,a11ychecker,texzilla '; varConfigplugins = ""Configplugins+ = "Dialogui,dialog,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,button"Configplugins+ = ", Toolbar,notification,clipboard,panelbutton,panel,floatpanel,colorbutton"Configplugins+ = ", Colordialog,templates,menu,contextmenu,copyformatting,div,resize,elementspath"Configplugins+ = ", Enterkey,entities,popup,filebrowser,find,fakeobjects,flash,floatingspace"Configplugins+ = ", Listblock,richcombo,font,forms,format,horizontalrule,htmlwriter,iframe"Configplugins+ = ", Wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton"Configplugins+ = ", Language,link,list,liststyle,magicline,maximize,newpage,pagebreak,pastetext"Configplugins+ = ", pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders"Configplugins+ = ", sourcearea,specialchar,scayt,stylescombo,tab,table,tabletools,tableselection"Configplugins+ = ", Undo,wsc,lineutils,widgetselection,widget,filetools,notificationaggregator"//Configplugins + = ", maxheight" causes the editor height to be 0 when you just open the editorConfigplugins + = ", Uploadwidget,uploadimage,about,mediaembed,embedbase,pastefromexcel"//Tliyoutube:inserisci Filmato YouTube //tliyoutube2: Embed Youtube videos //oembed:embed Media from External Sites //Mrmonkey:toggle Mr Monkey && Mr Monkey Settings //embed,embedsemantic: Inserting media //Pastecode:paste as Code //html5video:insert HTML5 Video //Lineheight:line Height //Mathjax: Mathematical formula //Quran:insert Quran //ccmssourcedialog: Source Popup box //Eqneditor:insert Equation //Fmatheditor:math Editor //Format_buttons:h1-h6 Button //Glossary:термин //Wlpheix:вставитьизображениеизсистемнойгалереиpheix //Gg:insert a ZS Google map //googledocs:document //htmlbuttons:a Nested list && A simple table && insert items && a link to Google //Closebtn:close (Close editor) //Insertpre:insert Code Snippet (insert codes, no highlighting, no language) //Inlinecancel:cancel (a fork, do not know what to do, point of no response) //Mathedit:insert Math //Internallink:insert Internallink //sourcedislog: Source (Pop-up dialog box, there is OK to cancel) //Configplugins + = ", Tliyoutube,oembed,tliyoutube2,mrmonkey,embed,pastecode,ccmssourcedialog"//iconConfigplugins + = ", Html5video,lineheight,mathjax,eqneditor,fmatheditor"//iconConfigplugins + = ", nbsp,noabp,numericinput,onchange,basewidget,layoutmanager,html5validation"Configplugins+ = ", Quicktable,selectallcontextmenu,iframedialog,fastimage,fixed,floating-tools"Configplugins+ = ", Ckeditor-gwf-plugin"//Configplugins + = ", Pastefromgoogledoc,osem_googlemaps,pastebase64,page2images,lightbox,lite" //Configplugins + = ", loremipsum,locationmap,leaflet,letterspacing,internallink,inserthtml4x" //Configplugins + = ", MARKDOWN,NIFTYIMAGES,PLACEHOLDER,PLACEHOLDER_SELECT,PERFORMX,QRC" //Configplugins + = ", Resizewithwindow" will be a problem, the entire editor has changed //Configplugins + = ", Quran,removespan,replacetagnamebybsquochoai,closebtn,insertpre,inlinecancel" //Configplugins + = ", Embedsemantic,scribens,xmas,glossary,wlpheix,gg,htmlbuttons,googledocs,mathedit"Configplugins + = ", format_buttons"//iconConfigplugins + = ", imgbrowse,imagebrowser,imageresize,imagerotate"Configplugins+ = ", Googlethisterm"Configplugins+ = ", imagecustomuploader,imageuploader,imagepaste,prism,textselection"Configplugins+ = ", Symbol,codesnippet,html5audio,simplebutton,sourcedialog"//iconConfigplugins + = ", sharedspace,showprotected"//Configplugins + = ", simple-image-browser,simplelink,sketchfab,soundplayer,spimage,spoiler,slideshow"Configplugins + = ", Image2,imageresponsive,simpleimageupload"//Configplugins + = ", simpleimage,syntaxhighlight,strinsert,xdsoft_translater,text2speech,videoembed"Configplugins + = ", smallerselection,label,extraformattributes"Configplugins+ = ", stat,backup,tabbedimagebrowser,stylesheetparser,textsignature"Configplugins+ = ", tabletoolstoolbar,tableresize"//Configplugins + = ", Toolbarswitch,wenzgmap,tweetabletext,token,videosnapshot,docprops,custimage"Configplugins + = ", Staticspace,texttransform,uicolor,uploadfile,widgetcontextmenu"Configplugins+ = ", Xml,ajax,xmltemplates,emojione"//Configplugins + = ", docfont,dropdownmenumanager,devtools,accordionlist,bootstraptabs,glyphicons" //Configplugins + = ", Divarea,easykeymap,pre,footnotes,chart,ckeditor_fa,cavacnote,ckawesome" //Configplugins + = ", Crossreference,niftytimers,ccmsconfighelper,codemirror,codetag,confighelper"Configplugins + = ", Codesnippetgeshi,ckwebspeech,cleanuploader"Configplugins+ = ", Brclear,pbckcode,collapsibleitem"Configplugins+ = ", Bt_table,btgrid,btbutton,btquicktable,bootstrapvisibility,backgrounds"//Configplugins + = ", BBCode" only to view the source code //Configplugins + = ", autogrow" //Configplugins + = ", Youtube,videodetector,zoom,a11ychecker,ccmsacdc,texzilla" //Configplugins + = ", Autocorrect,autosave,autolink,autoembed,base64image"Configplugins + = ", Deselect,wordcount,allowsave,bgimage"//Error //Configplugins + = ", Liteedite,simple-ruler,imgupload,audio,uploadcare,stylesheetparser-fixed,imgur" //Configplugins + = ", Ckeditortablecellsselection,bootstraptable,balloonpanel,cssanim,enhancedcolorbuttton, Allmedias "config.extraplugins=Configplugins; //Config.imgurclientid //config.extraplugins= ' Autogrow,uploadimage,emojione,uploadfile,tabletools,uicolor,pastecode,syntaxhighlight , Preview,wordcount,tabletools,menu,menubutton,layoutmanager,ckeditor_fa,htmlbuttons,accordionlist, Bootstrapvisibility,fastimage,filebrowser,image2,mathjax,maxheight,maximize,placeholder,ajax,codemirror, Codesnippet,codesnippetgeshi,filebrowser,fastimage ';Config.uicolor = ' #7fb2ed '; Config.uploadurl= '/upload '; Config.skin= ' Moonocolor '; Config.mathjaxlib= '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/mathjax.js?config=tex-ams_html '; Config.autogrow_maxheight= 500; Config.autogrow_minheight= 200; Config.protectedSource.push (/<div class=[\s\s]*<\/div>/g); Config.protectedSource.push (/<style [\s\s]*<\/style>/g); Config.protectedSource.push (/<script [\s\s]*<\/script>/g); Config.allowedcontent=true;//Allow source codeConfig.filebrowserbrowseurl = '/image/', Config.filebrowseruploadurl= '/upload '//Config.toolbarcancollapse = true; Collapse Toolbar /*config.codesnippet_languages = {c: ' C + + '};*/};
CKEditor Config.js