├── src ├── docs │ ├── faq.adoc │ ├── tags │ │ ├── fileBrowserLink.adoc │ │ ├── resources.adoc │ │ ├── config.adoc │ │ └── fileBrowser.adoc │ ├── advanced.adoc │ ├── gettingStarted.adoc │ ├── introduction │ │ ├── license.adoc │ │ ├── sourceCode.adoc │ │ ├── acknowledgments.adoc │ │ └── currentVersion.adoc │ ├── advanced │ │ ├── uriCustomization.adoc │ │ └── customTypes.adoc │ ├── index.adoc │ ├── gettingStarted │ │ ├── usage.adoc │ │ └── installation.adoc │ ├── introduction.adoc │ └── tags.adoc └── main │ ├── resources │ └── public │ │ └── js │ │ ├── ofm │ │ ├── scripts │ │ │ ├── CodeMirror │ │ │ │ ├── .travis.yml │ │ │ │ ├── .gitignore │ │ │ │ ├── doc │ │ │ │ │ └── logo.png │ │ │ │ ├── .gitattributes │ │ │ │ ├── theme │ │ │ │ │ ├── ambiance-mobile.css │ │ │ │ │ ├── neat.css │ │ │ │ │ ├── elegant.css │ │ │ │ │ ├── eclipse.css │ │ │ │ │ ├── cobalt.css │ │ │ │ │ ├── monokai.css │ │ │ │ │ ├── night.css │ │ │ │ │ ├── the-matrix.css │ │ │ │ │ ├── rubyblue.css │ │ │ │ │ ├── mbo.css │ │ │ │ │ ├── blackboard.css │ │ │ │ │ ├── 3024-day.css │ │ │ │ │ ├── paraiso-dark.css │ │ │ │ │ ├── 3024-night.css │ │ │ │ │ ├── paraiso-light.css │ │ │ │ │ ├── base16-dark.css │ │ │ │ │ └── vibrant-ink.css │ │ │ │ ├── addon │ │ │ │ │ ├── display │ │ │ │ │ │ ├── fullscreen.css │ │ │ │ │ │ └── fullscreen.js │ │ │ │ │ ├── fold │ │ │ │ │ │ ├── foldgutter.css │ │ │ │ │ │ ├── indent-fold.js │ │ │ │ │ │ └── markdown-fold.js │ │ │ │ │ ├── dialog │ │ │ │ │ │ └── dialog.css │ │ │ │ │ ├── mode │ │ │ │ │ │ └── multiplex_test.js │ │ │ │ │ ├── lint │ │ │ │ │ │ ├── yaml-lint.js │ │ │ │ │ │ ├── json-lint.js │ │ │ │ │ │ ├── css-lint.js │ │ │ │ │ │ └── coffeescript-lint.js │ │ │ │ │ ├── hint │ │ │ │ │ │ └── show-hint.css │ │ │ │ │ ├── edit │ │ │ │ │ │ ├── trailingspace.js │ │ │ │ │ │ └── continuelist.js │ │ │ │ │ ├── tern │ │ │ │ │ │ └── worker.js │ │ │ │ │ ├── runmode │ │ │ │ │ │ └── colorize.js │ │ │ │ │ └── scroll │ │ │ │ │ │ └── scrollpastend.js │ │ │ │ ├── test │ │ │ │ │ ├── mode_test.css │ │ │ │ │ ├── phantom_driver.js │ │ │ │ │ └── run.js │ │ │ │ ├── bower.json │ │ │ │ ├── mode │ │ │ │ │ ├── tiddlywiki │ │ │ │ │ │ └── tiddlywiki.css │ │ │ │ │ ├── ruby │ │ │ │ │ │ └── test.js │ │ │ │ │ ├── tiki │ │ │ │ │ │ └── tiki.css │ │ │ │ │ ├── diff │ │ │ │ │ │ └── diff.js │ │ │ │ │ ├── ntriples │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── http │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── jinja2 │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── solr │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── z80 │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── ecl │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── rust │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── turtle │ │ │ │ │ │ └── index.html │ │ │ │ │ ├── pascal │ │ │ │ │ │ └── index.html │ │ │ │ │ └── pig │ │ │ │ │ │ └── index.html │ │ │ │ ├── bin │ │ │ │ │ ├── authors.sh │ │ │ │ │ ├── lint │ │ │ │ │ └── source-highlight │ │ │ │ ├── README.md │ │ │ │ ├── package.json │ │ │ │ ├── LICENSE │ │ │ │ └── demo │ │ │ │ │ ├── closetag.html │ │ │ │ │ ├── matchtags.html │ │ │ │ │ ├── markselection.html │ │ │ │ │ ├── placeholder.html │ │ │ │ │ ├── marker.html │ │ │ │ │ └── resize.html │ │ │ ├── jquery.splitter │ │ │ │ ├── hgrabber.gif │ │ │ │ ├── vgrabber.gif │ │ │ │ └── jquery.splitter.css │ │ │ ├── jquery.filetree │ │ │ │ └── images │ │ │ │ │ ├── css.png │ │ │ │ │ ├── db.png │ │ │ │ │ ├── doc.png │ │ │ │ │ ├── pdf.png │ │ │ │ │ ├── php.png │ │ │ │ │ ├── ppt.png │ │ │ │ │ ├── psd.png │ │ │ │ │ ├── txt.png │ │ │ │ │ ├── xls.png │ │ │ │ │ ├── zip.png │ │ │ │ │ ├── code.png │ │ │ │ │ ├── file.png │ │ │ │ │ ├── film.png │ │ │ │ │ ├── flash.png │ │ │ │ │ ├── html.png │ │ │ │ │ ├── java.png │ │ │ │ │ ├── linux.png │ │ │ │ │ ├── music.png │ │ │ │ │ ├── ruby.png │ │ │ │ │ ├── script.png │ │ │ │ │ ├── picture.png │ │ │ │ │ ├── spinner.gif │ │ │ │ │ ├── application.png │ │ │ │ │ ├── directory.png │ │ │ │ │ └── folder_open.png │ │ │ └── jquery.contextmenu │ │ │ │ ├── images │ │ │ │ ├── cut.png │ │ │ │ ├── door.png │ │ │ │ ├── page_white_copy.png │ │ │ │ ├── page_white_edit.png │ │ │ │ ├── page_white_delete.png │ │ │ │ └── page_white_paste.png │ │ │ │ └── jquery.contextMenu-1.01.css │ │ ├── images │ │ │ ├── house.png │ │ │ ├── move.png │ │ │ ├── plus.png │ │ │ ├── reset.png │ │ │ ├── tag.png │ │ │ ├── accept.png │ │ │ ├── pencil.png │ │ │ ├── replace.png │ │ │ ├── upload.png │ │ │ ├── bin_closed.png │ │ │ ├── download.png │ │ │ ├── folder_add.png │ │ │ ├── ajax-loader.gif │ │ │ ├── fileicons │ │ │ │ ├── js.png │ │ │ │ ├── py.png │ │ │ │ ├── rb.png │ │ │ │ ├── _Net.png │ │ │ │ ├── _Open.png │ │ │ │ ├── aac.png │ │ │ │ ├── avi.png │ │ │ │ ├── bmp.png │ │ │ │ ├── chm.png │ │ │ │ ├── css.png │ │ │ │ ├── dll.png │ │ │ │ ├── doc.png │ │ │ │ ├── docx.png │ │ │ │ ├── fla.png │ │ │ │ ├── gif.png │ │ │ │ ├── htm.png │ │ │ │ ├── html.png │ │ │ │ ├── ini.png │ │ │ │ ├── jar.png │ │ │ │ ├── jpeg.png │ │ │ │ ├── jpg.png │ │ │ │ ├── lasso.png │ │ │ │ ├── mdb.png │ │ │ │ ├── mov.png │ │ │ │ ├── mp3.png │ │ │ │ ├── mp4.png │ │ │ │ ├── mpg.png │ │ │ │ ├── ogg.png │ │ │ │ ├── ogv.png │ │ │ │ ├── pdf.png │ │ │ │ ├── php.png │ │ │ │ ├── png.png │ │ │ │ ├── ppt.png │ │ │ │ ├── real.png │ │ │ │ ├── reg.png │ │ │ │ ├── rtf.png │ │ │ │ ├── sql.png │ │ │ │ ├── swf.png │ │ │ │ ├── txt.png │ │ │ │ ├── vbs.png │ │ │ │ ├── wav.png │ │ │ │ ├── webm.png │ │ │ │ ├── wma.png │ │ │ │ ├── wmv.png │ │ │ │ ├── xls.png │ │ │ │ ├── xlsx.png │ │ │ │ ├── xml.png │ │ │ │ ├── xsl.png │ │ │ │ ├── zip.png │ │ │ │ ├── _Close.png │ │ │ │ ├── _Image.png │ │ │ │ ├── _Movie.png │ │ │ │ ├── _Music.png │ │ │ │ ├── _Works.png │ │ │ │ ├── default.png │ │ │ │ ├── _Documents.png │ │ │ │ ├── _Favorites.png │ │ │ │ ├── other_image.png │ │ │ │ ├── other_movie.png │ │ │ │ ├── other_music.png │ │ │ │ ├── other_music2.png │ │ │ │ └── _ProgramFiles.png │ │ │ ├── parentfolder.png │ │ │ ├── wait30trans.gif │ │ │ ├── bullet_arrow_up.png │ │ │ ├── bullet_arrow_down.png │ │ │ ├── application_view_icons.png │ │ │ └── application_view_list.png │ │ └── styles │ │ │ ├── ie9.css │ │ │ ├── ie8.css │ │ │ └── reset.css │ │ └── ckeditor │ │ ├── plugins │ │ ├── icons.png │ │ ├── icons_hidpi.png │ │ ├── link │ │ │ ├── images │ │ │ │ ├── anchor.png │ │ │ │ └── hidpi │ │ │ │ │ └── anchor.png │ │ │ └── dialogs │ │ │ │ └── anchor.js │ │ ├── smiley │ │ │ └── images │ │ │ │ ├── heart.gif │ │ │ │ ├── heart.png │ │ │ │ ├── kiss.gif │ │ │ │ ├── kiss.png │ │ │ │ ├── cry_smile.gif │ │ │ │ ├── cry_smile.png │ │ │ │ ├── envelope.gif │ │ │ │ ├── envelope.png │ │ │ │ ├── lightbulb.gif │ │ │ │ ├── lightbulb.png │ │ │ │ ├── omg_smile.gif │ │ │ │ ├── omg_smile.png │ │ │ │ ├── sad_smile.gif │ │ │ │ ├── sad_smile.png │ │ │ │ ├── thumbs_up.gif │ │ │ │ ├── thumbs_up.png │ │ │ │ ├── wink_smile.gif │ │ │ │ ├── wink_smile.png │ │ │ │ ├── angel_smile.gif │ │ │ │ ├── angel_smile.png │ │ │ │ ├── angry_smile.gif │ │ │ │ ├── angry_smile.png │ │ │ │ ├── broken_heart.gif │ │ │ │ ├── broken_heart.png │ │ │ │ ├── devil_smile.gif │ │ │ │ ├── devil_smile.png │ │ │ │ ├── shades_smile.gif │ │ │ │ ├── shades_smile.png │ │ │ │ ├── teeth_smile.gif │ │ │ │ ├── teeth_smile.png │ │ │ │ ├── thumbs_down.gif │ │ │ │ ├── thumbs_down.png │ │ │ │ ├── tongue_smile.gif │ │ │ │ ├── tongue_smile.png │ │ │ │ ├── tounge_smile.gif │ │ │ │ ├── confused_smile.gif │ │ │ │ ├── confused_smile.png │ │ │ │ ├── regular_smile.gif │ │ │ │ ├── regular_smile.png │ │ │ │ ├── embaressed_smile.gif │ │ │ │ ├── embarrassed_smile.gif │ │ │ │ ├── embarrassed_smile.png │ │ │ │ ├── whatchutalkingabout_smile.gif │ │ │ │ └── whatchutalkingabout_smile.png │ │ ├── image │ │ │ └── images │ │ │ │ └── noimage.png │ │ ├── magicline │ │ │ └── images │ │ │ │ ├── icon.png │ │ │ │ ├── icon-rtl.png │ │ │ │ └── hidpi │ │ │ │ ├── icon.png │ │ │ │ └── icon-rtl.png │ │ ├── flash │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── forms │ │ │ ├── images │ │ │ │ └── hiddenfield.gif │ │ │ └── dialogs │ │ │ │ └── hiddenfield.js │ │ ├── iframe │ │ │ └── images │ │ │ │ └── placeholder.png │ │ ├── pagebreak │ │ │ └── images │ │ │ │ └── pagebreak.gif │ │ ├── showblocks │ │ │ └── images │ │ │ │ ├── block_h1.png │ │ │ │ ├── block_h2.png │ │ │ │ ├── block_h3.png │ │ │ │ ├── block_h4.png │ │ │ │ ├── block_h5.png │ │ │ │ ├── block_h6.png │ │ │ │ ├── block_p.png │ │ │ │ ├── block_div.png │ │ │ │ ├── block_pre.png │ │ │ │ ├── block_address.png │ │ │ │ └── block_blockquote.png │ │ ├── about │ │ │ └── dialogs │ │ │ │ ├── logo_ckeditor.png │ │ │ │ └── hidpi │ │ │ │ └── logo_ckeditor.png │ │ ├── dialog │ │ │ └── dialogDefinition.js │ │ ├── templates │ │ │ └── templates │ │ │ │ └── images │ │ │ │ ├── template1.gif │ │ │ │ ├── template2.gif │ │ │ │ └── template3.gif │ │ ├── preview │ │ │ └── preview.html │ │ ├── specialchar │ │ │ └── dialogs │ │ │ │ └── lang │ │ │ │ └── _translationstatus.txt │ │ ├── colordialog │ │ │ └── dialogs │ │ │ │ └── colordialog.css │ │ ├── a11yhelp │ │ │ └── dialogs │ │ │ │ └── lang │ │ │ │ └── _translationstatus.txt │ │ ├── wsc │ │ │ ├── README.md │ │ │ ├── LICENSE.md │ │ │ └── dialogs │ │ │ │ └── wsc.css │ │ └── scayt │ │ │ ├── README.md │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE.md │ │ │ └── dialogs │ │ │ └── toolbar.css │ │ ├── samples │ │ ├── img │ │ │ ├── logo.png │ │ │ ├── github-top.png │ │ │ ├── header-bg.png │ │ │ ├── navigation-tip.png │ │ │ └── header-separator.png │ │ ├── old │ │ │ ├── assets │ │ │ │ ├── sample.jpg │ │ │ │ ├── inlineall │ │ │ │ │ └── logo.png │ │ │ │ ├── uilanguages │ │ │ │ │ └── languages.js │ │ │ │ └── posteddata.php │ │ │ ├── htmlwriter │ │ │ │ └── assets │ │ │ │ │ └── outputforflash │ │ │ │ │ ├── outputforflash.fla │ │ │ │ │ └── outputforflash.swf │ │ │ ├── sample_posteddata.php │ │ │ └── dialog │ │ │ │ └── assets │ │ │ │ └── my_dialog.js │ │ └── toolbarconfigurator │ │ │ ├── font │ │ │ ├── fontello.eot │ │ │ ├── fontello.ttf │ │ │ ├── fontello.woff │ │ │ ├── LICENSE.txt │ │ │ └── config.json │ │ │ └── lib │ │ │ └── codemirror │ │ │ ├── show-hint.css │ │ │ ├── neo.css │ │ │ └── LICENSE │ │ ├── skins │ │ └── moono │ │ │ ├── icons.png │ │ │ ├── icons_hidpi.png │ │ │ └── images │ │ │ ├── arrow.png │ │ │ ├── close.png │ │ │ ├── lock.png │ │ │ ├── refresh.png │ │ │ ├── spinner.gif │ │ │ ├── hidpi │ │ │ ├── lock.png │ │ │ ├── close.png │ │ │ ├── refresh.png │ │ │ └── lock-open.png │ │ │ └── lock-open.png │ │ ├── config.js │ │ └── README.md │ └── groovy │ └── grails │ └── plugins │ └── ckeditor │ ├── utils │ ├── PluginUtils.groovy │ └── FileUtils.groovy │ └── exceptions │ └── UnknownOptionException.groovy ├── settings.gradle ├── gradle.properties ├── gradle ├── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties └── publish.gradle ├── grails-app ├── i18n │ ├── messages_it.properties │ ├── messages_zh_CN.properties │ ├── messages_uk.properties │ ├── messages.properties │ └── messages_ru.properties ├── init │ └── grails │ │ └── plugins │ │ └── ckeditor │ │ └── Application.groovy ├── views │ ├── notFound.gsp │ └── error.gsp ├── conf │ └── logback.groovy └── controllers │ └── grails │ └── plugins │ └── ckeditor │ ├── UrlMappings.groovy │ └── CkeditorUrlMappings.groovy ├── README.md └── .gitignore /src/docs/faq.adoc: -------------------------------------------------------------------------------- 1 | == FAQ 2 | 3 | TBW -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name="ckeditor" -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | grailsVersion=3.1.7 2 | gradleWrapperVersion=2.9 3 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.8 4 | -------------------------------------------------------------------------------- /src/docs/tags/fileBrowserLink.adoc: -------------------------------------------------------------------------------- 1 | [[fileBrowserLink-tag]] 2 | === fileBrowserLink 3 | 4 | See <> tag -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /grails-app/i18n/messages_it.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/grails-app/i18n/messages_it.properties -------------------------------------------------------------------------------- /src/docs/advanced.adoc: -------------------------------------------------------------------------------- 1 | == Advanced topics 2 | 3 | include::advanced/customTypes.adoc[] 4 | 5 | include::advanced/uriCustomization.adoc[] 6 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /npm-debug.log 3 | test.html 4 | .tern-* 5 | *~ 6 | *.swp 7 | -------------------------------------------------------------------------------- /src/docs/gettingStarted.adoc: -------------------------------------------------------------------------------- 1 | == Getting started 2 | 3 | include::gettingStarted/installation.adoc[] 4 | 5 | include::gettingStarted/usage.adoc[] 6 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/house.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/house.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/move.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/move.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/plus.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/reset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/reset.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/tag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/tag.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/accept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/accept.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/pencil.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/replace.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/upload.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/bin_closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/bin_closed.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/download.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/folder_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/folder_add.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/icons.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/ajax-loader.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/js.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/py.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/rb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/rb.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/parentfolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/parentfolder.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/wait30trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/wait30trans.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/img/logo.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/icons.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/bullet_arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/bullet_arrow_up.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Net.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Net.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Open.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/aac.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/aac.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/avi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/avi.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/bmp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/bmp.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/chm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/chm.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/css.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/dll.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/dll.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/doc.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/docx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/docx.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/fla.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/fla.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/gif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/gif.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/htm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/htm.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/html.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/ini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/ini.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/jar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/jar.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/jpeg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/jpeg.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/jpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/jpg.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/lasso.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/lasso.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/mdb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/mdb.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/mov.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/mov.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/mp3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/mp3.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/mp4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/mp4.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/mpg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/mpg.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/ogg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/ogg.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/ogv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/ogv.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/pdf.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/php.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/png.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/png.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/ppt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/ppt.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/real.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/real.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/reg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/reg.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/rtf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/rtf.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/sql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/sql.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/swf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/swf.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/txt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/txt.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/vbs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/vbs.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/wav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/wav.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/webm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/webm.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/wma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/wma.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/wmv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/wmv.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/xls.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/xlsx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/xlsx.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/xml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/xml.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/xsl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/xsl.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/zip.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/icons_hidpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/icons_hidpi.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/bullet_arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/bullet_arrow_down.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Close.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Image.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Movie.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Music.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Works.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Works.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/default.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/img/github-top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/img/github-top.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/img/header-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/img/header-bg.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Documents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Documents.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_Favorites.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_Favorites.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/doc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/CodeMirror/doc/logo.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/icons_hidpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/icons_hidpi.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/arrow.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/close.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/lock.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/application_view_icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/application_view_icons.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/application_view_list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/application_view_list.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/other_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/other_image.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/other_movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/other_movie.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/other_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/other_music.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/other_music2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/other_music2.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/link/images/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/link/images/anchor.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/heart.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/heart.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/kiss.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/kiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/kiss.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/img/navigation-tip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/img/navigation-tip.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/assets/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/old/assets/sample.jpg -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/refresh.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/spinner.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/images/fileicons/_ProgramFiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/images/fileicons/_ProgramFiles.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/.gitattributes: -------------------------------------------------------------------------------- 1 | *.txt text 2 | *.js text 3 | *.html text 4 | *.md text 5 | *.json text 6 | *.yml text 7 | *.css text 8 | *.svg text 9 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.splitter/hgrabber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.splitter/hgrabber.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.splitter/vgrabber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.splitter/vgrabber.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | CKeditor plugin for Grails 2 | ========================== 3 | 4 | The user guide can be found here: [Documentation] 5 | 6 | [Documentation]: http://stefanogualdi.github.com/grails-ckeditor/ 7 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/image/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/image/images/noimage.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/magicline/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/magicline/images/icon.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/img/header-separator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/img/header-separator.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/lock.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/lock-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/lock-open.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/css.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/db.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/db.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/doc.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/pdf.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/php.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/ppt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/ppt.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/psd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/psd.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/txt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/txt.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/xls.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/xls.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/zip.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/flash/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/flash/images/placeholder.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/forms/images/hiddenfield.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/forms/images/hiddenfield.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/link/images/hidpi/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/link/images/hidpi/anchor.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/cry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/cry_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/cry_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/cry_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/envelope.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/envelope.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/envelope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/envelope.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/lightbulb.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/lightbulb.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/lightbulb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/lightbulb.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/omg_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/omg_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/omg_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/omg_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/sad_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/sad_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/sad_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/sad_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_up.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_up.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/wink_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/wink_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/wink_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/wink_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/close.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/refresh.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/cut.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/code.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/file.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/film.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/film.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/flash.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/html.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/java.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/linux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/linux.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/music.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/ruby.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/ruby.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/script.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/script.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/iframe/images/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/iframe/images/placeholder.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/magicline/images/icon-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/magicline/images/icon-rtl.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h1.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h2.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h3.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h4.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h5.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_h6.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_p.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/angel_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/angel_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/angel_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/angel_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/angry_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/angry_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/angry_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/angry_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/broken_heart.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/broken_heart.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/broken_heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/broken_heart.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/devil_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/devil_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/devil_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/devil_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/shades_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/shades_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/shades_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/shades_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/teeth_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/teeth_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/teeth_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/teeth_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_down.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/thumbs_down.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/tongue_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/tongue_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/tongue_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/tongue_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/tounge_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/tounge_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/assets/inlineall/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/old/assets/inlineall/logo.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/lock-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/skins/moono/images/hidpi/lock-open.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/door.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/door.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/picture.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/spinner.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/magicline/images/hidpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/magicline/images/hidpi/icon.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_div.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_div.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_pre.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_pre.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/confused_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/confused_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/confused_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/confused_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/regular_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/regular_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/regular_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/regular_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/application.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/directory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/directory.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.filetree/images/folder_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.filetree/images/folder_open.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_address.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/embaressed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/embaressed_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/embarrassed_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/embarrassed_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/embarrassed_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/embarrassed_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_blockquote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/showblocks/images/block_blockquote.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/fontello.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/fontello.eot -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/fontello.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/fontello.ttf -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/fontello.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/fontello.woff -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/templates/templates/images/template1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/templates/templates/images/template1.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/templates/templates/images/template2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/templates/templates/images/template2.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/templates/templates/images/template3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/templates/templates/images/template3.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_copy.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_edit.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_delete.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ofm/scripts/jquery.contextmenu/images/page_white_paste.png -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.fla -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stefanogualdi/grails-ckeditor/HEAD/src/main/resources/public/js/ckeditor/samples/old/htmlwriter/assets/outputforflash/outputforflash.swf -------------------------------------------------------------------------------- /src/docs/introduction/license.adoc: -------------------------------------------------------------------------------- 1 | === License 2 | 3 | This plugin is released under the http://www.apache.org/licenses/LICENSE-2.0[Apache License, Version 2.0] 4 | 5 | Please refer to http://ckeditor.com/license for the licensing schemes provided by http://cksource.com[CKSource] 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Nov 27 23:09:32 CET 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip 7 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/test/mode_test.css: -------------------------------------------------------------------------------- 1 | .mt-output .mt-token { 2 | border: 1px solid #ddd; 3 | white-space: pre; 4 | font-family: "Consolas", monospace; 5 | text-align: center; 6 | } 7 | 8 | .mt-output .mt-style { 9 | font-size: x-small; 10 | } 11 | -------------------------------------------------------------------------------- /src/docs/advanced/uriCustomization.adoc: -------------------------------------------------------------------------------- 1 | === Internal URI's customization 2 | 3 | Since version 3.4.0.1 it is possible to customize the URI's used to invoke the plugin's connectors. 4 | 5 | Eg: 6 | [source, groovy] 7 | ---- 8 | ckeditor.connectors.prefix = "/my/app/ck/" 9 | ---- 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Font license info 2 | 3 | 4 | ## Font Awesome 5 | 6 | Copyright (C) 2012 by Dave Gandy 7 | 8 | Author: Dave Gandy 9 | License: SIL () 10 | Homepage: http://fortawesome.github.com/Font-Awesome/ 11 | -------------------------------------------------------------------------------- /grails-app/init/grails/plugins/ckeditor/Application.groovy: -------------------------------------------------------------------------------- 1 | package grails.plugins.ckeditor 2 | 3 | import grails.boot.GrailsApp 4 | import grails.boot.config.GrailsAutoConfiguration 5 | 6 | class Application extends GrailsAutoConfiguration { 7 | static void main(String[] args) { 8 | GrailsApp.run(Application, args) 9 | } 10 | } -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CodeMirror", 3 | "main": ["lib/codemirror.js", "lib/codemirror.css"], 4 | "ignore": [ 5 | "**/.*", 6 | "node_modules", 7 | "components", 8 | "bin", 9 | "demo", 10 | "doc", 11 | "test", 12 | "index.html", 13 | "package.json" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/bin/authors.sh: -------------------------------------------------------------------------------- 1 | # Combine existing list of authors with everyone known in git, sort, add header. 2 | tail --lines=+3 AUTHORS > AUTHORS.tmp 3 | git log --format='%aN' >> AUTHORS.tmp 4 | echo -e "List of CodeMirror contributors. Updated before every release.\n" > AUTHORS 5 | sort -u AUTHORS.tmp >> AUTHORS 6 | rm -f AUTHORS.tmp 7 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/preview/preview.html: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /src/docs/index.adoc: -------------------------------------------------------------------------------- 1 | = Ckeditor Plugin - Reference Documentation 2 | Stefano Gualdi 3 | 4 | :cksource: http://cksource.com 5 | 6 | include::introduction.adoc[] 7 | 8 | include::gettingStarted.adoc[] 9 | 10 | include::configuration.adoc[] 11 | 12 | include::tags.adoc[] 13 | 14 | include::security.adoc[] 15 | 16 | include::advanced.adoc[] 17 | 18 | // include::faq.adoc[] 19 | 20 | include::history.adoc[] 21 | -------------------------------------------------------------------------------- /grails-app/i18n/messages_zh_CN.properties: -------------------------------------------------------------------------------- 1 | ofm.noPermissions=\u6CA1\u6709\u64CD\u4F5C\u6743\u9650 2 | ofm.invalidNewFilename=\u65E0\u6548\u7684\u6587\u4EF6\u540D\u79F0 3 | ofm.fileAlreadyExists=\u6587\u4EF6\u5DF2\u5B58\u5728 4 | ofm.fileDoesNotExists=\u6587\u4EF6\u4E0D\u5B58\u5728 5 | ofm.invalidFileType=\u65E0\u6548\u7684\u6587\u4EF6\u7C7B\u578B 6 | ofm.directoryAlreadyExists=\u6587\u4EF6\u5939\u5DF2\u7ECF\u5B58\u5728 7 | 8 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. 3 | * For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.editorConfig = function( config ) { 7 | // Define changes to default configuration here. For example: 8 | // config.language = 'fr'; 9 | // config.uiColor = '#AADC6E'; 10 | }; 11 | -------------------------------------------------------------------------------- /grails-app/i18n/messages_uk.properties: -------------------------------------------------------------------------------- 1 | ofm.noPermissions=Не вистачає прав для виконнання дії 2 | ofm.invalidNewFilename=Невірне ім`я файла 3 | ofm.fileAlreadyExists=Файл вже існує 4 | ofm.fileDoesNotExists=Файл не існує 5 | ofm.invalidFileType=Невірний тип файла 6 | ofm.directoryAlreadyExists=Діректорія вже існує 7 | ofm.invalidCall=Невірний запит 8 | ofm.invalidFile=Невірний файл 9 | ofm.uploadsDisabled=Завантаження заборонені 10 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/styles/ie9.css: -------------------------------------------------------------------------------- 1 | * { 2 | zoom: 1; 3 | } 4 | 5 | #filepath { 6 | height: 27px; 7 | line-height: 1.6em; 8 | } 9 | 10 | #file-input-container { 11 | width: 205px; 12 | } 13 | 14 | #file-input-container * { 15 | box-sizing: border-box; 16 | -ms-box-sizing: border-box; 17 | } 18 | 19 | #newfile { 20 | width: 205px; 21 | } 22 | 23 | #uploader { 24 | min-height: 32px; 25 | } 26 | #q {width:192px;} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # JetBrains IntelliJ IDEA files 2 | .idea/ 3 | *.iml 4 | *.iws 5 | .gradle 6 | build/ 7 | 8 | # Log files 9 | *.log 10 | 11 | # Libraries and others 12 | *.zip 13 | 14 | # Target 15 | target/ 16 | target-eclipse/ 17 | 18 | .DS_Store 19 | 20 | plugin.xml 21 | .settings 22 | 23 | # Sensible settings 24 | bintray.properties 25 | github.properties 26 | 27 | # Unused grails files 28 | .classpath 29 | .project 30 | test/reports -------------------------------------------------------------------------------- /grails-app/i18n/messages.properties: -------------------------------------------------------------------------------- 1 | ofm.noPermissions=No permissions for the requested action 2 | ofm.invalidNewFilename=Invalid file name 3 | ofm.fileAlreadyExists=File already exists 4 | ofm.fileDoesNotExists=File does not exists 5 | ofm.invalidFileType=Invalid file type 6 | ofm.directoryAlreadyExists=Folder already exists 7 | ofm.invalidCall=Invalid call 8 | ofm.invalidFile=Invalid file 9 | ofm.uploadsDisabled=Uploads not allowed 10 | -------------------------------------------------------------------------------- /grails-app/i18n/messages_ru.properties: -------------------------------------------------------------------------------- 1 | ofm.noPermissions=Не достаточно прав для выполнения действия 2 | ofm.invalidNewFilename=Неверное имя файла 3 | ofm.fileAlreadyExists=Файл уже существует 4 | ofm.fileDoesNotExists=Файл не существует 5 | ofm.invalidFileType=Неверный тип файла 6 | ofm.directoryAlreadyExists=Папка уже существует 7 | ofm.invalidCall=Неверный вызов 8 | ofm.invalidFile=Неверный файл 9 | ofm.uploadsDisabled=Загрузки запрещены 10 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/styles/ie8.css: -------------------------------------------------------------------------------- 1 | * { 2 | zoom: 1; 3 | } 4 | 5 | #filepath { 6 | height: 27px; 7 | line-height: 1.6em; 8 | } 9 | 10 | #file-input-container { 11 | width: 205px; 12 | } 13 | 14 | #file-input-container * { 15 | box-sizing: border-box; 16 | -ms-box-sizing: border-box; 17 | } 18 | 19 | #newfile { 20 | width: 205px; 21 | } 22 | 23 | #uploader { 24 | min-height: 32px; 25 | } 26 | #q { width:192px; height:1.8em} -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 3 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 4 | 5 | MT("divide_equal_operator", 6 | "[variable bar] [operator /=] [variable foo]"); 7 | 8 | MT("divide_equal_operator_no_spacing", 9 | "[variable foo][operator /=][number 42]"); 10 | 11 | })(); 12 | -------------------------------------------------------------------------------- /grails-app/views/notFound.gsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Page Not Found 5 | 6 | 7 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/docs/advanced/customTypes.adoc: -------------------------------------------------------------------------------- 1 | === Custom upload types 2 | 3 | If you need to handle different types of uploads, since version 3.4.0, you can simply define a new block into the upload section: 4 | 5 | [source, groovy] 6 | ---- 7 | ... 8 | upload { 9 | ... 10 | 11 | avatar { 12 | browser = true 13 | upload = true 14 | allowed = ['gif', 'jpg'] 15 | denied = ['exe', 'sh', 'cgi'] 16 | } 17 | 18 | ... 19 | } 20 | 21 | ... 22 | ---- 23 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/bin/lint: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var lint = require("../test/lint/lint"), 4 | path = require("path"); 5 | 6 | if (process.argv.length > 2) { 7 | lint.checkDir(process.argv[2]); 8 | } else { 9 | process.chdir(path.resolve(__dirname, "..")); 10 | lint.checkDir("lib"); 11 | lint.checkDir("mode"); 12 | lint.checkDir("addon"); 13 | lint.checkDir("keymap"); 14 | } 15 | 16 | process.exit(lint.success() ? 0 : 1); 17 | -------------------------------------------------------------------------------- /src/docs/gettingStarted/usage.adoc: -------------------------------------------------------------------------------- 1 | === Usage 2 | 3 | To start using the plugin simply add the following code to the page's head: 4 | 5 | [source, html] 6 | ---- 7 | 8 | ... 9 | 10 | ... 11 | 12 | ---- 13 | 14 | and in the place you want to render the editor: 15 | 16 | [source, html] 17 | ---- 18 | 19 | ${initialValue} 20 | 21 | ---- 22 | 23 | Please refer to the <> section to understand how to configure the file manager. 24 | 25 | -------------------------------------------------------------------------------- /src/docs/introduction/sourceCode.adoc: -------------------------------------------------------------------------------- 1 | === Source code 2 | 3 | The full source code for this plugin can be found on http://github.com/stefanogualdi/grails-ckeditor[GitHub]. 4 | 5 | The master branch is for the Grails 3.x version. The code for the Grails 2.x version is on branch: `grails-2.x`. 6 | 7 | For issues, improvements or new features go to the plugin's go to https://github.com/stefanogualdi/grails-ckeditor/issues[GitHub issues]. 8 | 9 | To contact me directly my email address is stefano DOT gualdi AT gmail DOT com 10 | 11 | Feel free to send me any correction about this document. 12 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/fold/foldgutter.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-foldmarker { 2 | color: blue; 3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; 4 | font-family: arial; 5 | line-height: .3; 6 | cursor: pointer; 7 | } 8 | .CodeMirror-foldgutter { 9 | width: .7em; 10 | } 11 | .CodeMirror-foldgutter-open, 12 | .CodeMirror-foldgutter-folded { 13 | color: #555; 14 | cursor: pointer; 15 | } 16 | .CodeMirror-foldgutter-open:after { 17 | content: "\25BE"; 18 | } 19 | .CodeMirror-foldgutter-folded:after { 20 | content: "\25B8"; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /src/docs/introduction.adoc: -------------------------------------------------------------------------------- 1 | == Introduction 2 | 3 | Welcome to the CKeditor plugin for Grails. 4 | 5 | This plugin implements the integration layer between Grails and the http://ckeditor.com[CKEditor] web rich text editor. 6 | 7 | This plugin can be used to integrate rich web editing functionality in Grails applications. 8 | 9 | The plugin is written in Groovy/Grails without any dependencies on external libraries. 10 | 11 | include::introduction/license.adoc[] 12 | 13 | include::introduction/currentVersion.adoc[] 14 | 15 | include::introduction/acknowledgments.adoc[] 16 | 17 | include::introduction/sourceCode.adoc[] 18 | -------------------------------------------------------------------------------- /src/docs/tags/resources.adoc: -------------------------------------------------------------------------------- 1 | [[resources-tag]] 2 | === resources 3 | 4 | This tag renders the javascript ref required to use the editor. 5 | 6 | Must be used inside the head tag of the page in which you want to use the editor. 7 | 8 | [source, html] 9 | ---- 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ---- 19 | 20 | By default the minified ckeditor's version will be loaded. Adding minified="false" will load the not minified, version. This can be useful for debugging purposes. 21 | 22 | During the war generation the source will be stripped and the minified code will always be loaded. 23 | -------------------------------------------------------------------------------- /src/docs/gettingStarted/installation.adoc: -------------------------------------------------------------------------------- 1 | === Installation 2 | 3 | To install the plugin add a dependency to BuildConfig.groovy: 4 | 5 | [source, groovy, subs="attributes,verbatim"] 6 | ---- 7 | plugins { 8 | compile ":ckeditor:4.5.4.1" 9 | } 10 | ---- 11 | 12 | To install the plugin with Grails 3.x: 13 | 14 | [source, groovy, subs="attributes,verbatim"] 15 | ---- 16 | repositories { 17 | maven { url "http://dl.bintray.com/stefanogualdi/plugins" } 18 | } 19 | dependencies { 20 | compile "org.grails.plugins:ckeditor:{revnumber}" 21 | } 22 | ---- 23 | 24 | You can find the dependency declaration for the latest version on the http://grails.org/plugin/ckeditor[plugin portal page]. -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/dialog/dialog.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-dialog { 2 | position: absolute; 3 | left: 0; right: 0; 4 | background: white; 5 | z-index: 15; 6 | padding: .1em .8em; 7 | overflow: hidden; 8 | color: #333; 9 | } 10 | 11 | .CodeMirror-dialog-top { 12 | border-bottom: 1px solid #eee; 13 | top: 0; 14 | } 15 | 16 | .CodeMirror-dialog-bottom { 17 | border-top: 1px solid #eee; 18 | bottom: 0; 19 | } 20 | 21 | .CodeMirror-dialog input { 22 | border: none; 23 | outline: none; 24 | background: transparent; 25 | width: 20em; 26 | color: inherit; 27 | font-family: monospace; 28 | } 29 | 30 | .CodeMirror-dialog button { 31 | font-size: 70%; 32 | } 33 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/font/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "", 3 | "css_prefix_text": "icon-", 4 | "css_use_suffix": false, 5 | "hinting": true, 6 | "units_per_em": 1000, 7 | "ascent": 850, 8 | "glyphs": [ 9 | { 10 | "uid": "f48ae54adfb27d8ada53d0fd9e34ee10", 11 | "css": "trash-empty", 12 | "code": 59392, 13 | "src": "fontawesome" 14 | }, 15 | { 16 | "uid": "1c4068ed75209e21af36017df8871802", 17 | "css": "down-big", 18 | "code": 59393, 19 | "src": "fontawesome" 20 | }, 21 | { 22 | "uid": "95376bf082bfec6ce06ea1cda7bd7ead", 23 | "css": "up-big", 24 | "code": 59394, 25 | "src": "fontawesome" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/README.md: -------------------------------------------------------------------------------- 1 | # CodeMirror 2 | [![Build Status](https://secure.travis-ci.org/marijnh/CodeMirror.png?branch=master)](http://travis-ci.org/marijnh/CodeMirror) 3 | [![NPM version](https://badge.fury.io/js/codemirror.png)](http://badge.fury.io/js/codemirror) 4 | 5 | CodeMirror is a JavaScript component that provides a code editor in 6 | the browser. When a mode is available for the language you are coding 7 | in, it will color your code, and optionally help with indentation. 8 | 9 | The project page is http://codemirror.net 10 | The manual is at http://codemirror.net/doc/manual.html 11 | The contributing guidelines are in [CONTRIBUTING.md](https://github.com/marijnh/CodeMirror/blob/master/CONTRIBUTING.md) 12 | -------------------------------------------------------------------------------- /grails-app/conf/logback.groovy: -------------------------------------------------------------------------------- 1 | import grails.util.BuildSettings 2 | import grails.util.Environment 3 | 4 | // See http://logback.qos.ch/manual/groovy.html for details on configuration 5 | appender('STDOUT', ConsoleAppender) { 6 | encoder(PatternLayoutEncoder) { 7 | pattern = "%level %logger - %msg%n" 8 | } 9 | } 10 | 11 | root(ERROR, ['STDOUT']) 12 | 13 | def targetDir = BuildSettings.TARGET_DIR 14 | if (Environment.isDevelopmentMode() && targetDir) { 15 | appender("FULL_STACKTRACE", FileAppender) { 16 | file = "${targetDir}/stacktrace.log" 17 | append = true 18 | encoder(PatternLayoutEncoder) { 19 | pattern = "%level %logger - %msg%n" 20 | } 21 | } 22 | logger("StackTrace", ERROR, ['FULL_STACKTRACE'], false) 23 | } 24 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /src/docs/tags.adoc: -------------------------------------------------------------------------------- 1 | == Tags 2 | 3 | The plugin defines the following custom tags: 4 | 5 | [cols="30,70"] 6 | |=== 7 | | Tag | Description 8 | | <> | Creates the necessary import for the CKEditor's javascripts files 9 | | <> | Configure the editor instance 10 | | <> | Renders the wysiwyg editor 11 | | <> | Creates a link to open just the file browser 12 | | <> | Creates an URL to a file browser 13 | |=== 14 | 15 | all the tags belongs to the namespace *ckeditor* 16 | 17 | include::tags/resources.adoc[] 18 | 19 | include::tags/config.adoc[] 20 | 21 | include::tags/editor.adoc[] 22 | 23 | include::tags/fileBrowser.adoc[] 24 | 25 | include::tags/fileBrowserLink.adoc[] 26 | 27 | -------------------------------------------------------------------------------- /src/docs/introduction/acknowledgments.adoc: -------------------------------------------------------------------------------- 1 | === Acknowledgments 2 | 3 | Many thanks to all the users who reported issues and sent me pull requests. 4 | 5 | In particular I would like to thank: 6 | 7 | * https://github.com/puneetbehl[Puneet Behl] 8 | * https://github.com/jdgiotta[John D Giotta] 9 | * https://github.com/stokito[Sergey Ponomarev] 10 | * https://github.com/mgdelacroix[Miguel de la Cruz] 11 | * https://github.com/jcyto[jcyto] 12 | * https://github.com/Tulga[Tulga] 13 | * https://github.com/rvargas[Rafael Vargas] 14 | * https://github.com/RaananW[Raanan Weber] 15 | * Teppo Peltonen 16 | * Paulo Alexandre Freitas 17 | * https://github.com/se-jaeger[se-jaeger] 18 | * https://github.com/elm[Florian Mutter] 19 | * https://github.com/benlucchesi[Ben Lucchesi] 20 | * https://github.com/goedef[Fred de Goede] 21 | -------------------------------------------------------------------------------- /grails-app/controllers/grails/plugins/ckeditor/UrlMappings.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 Stefano Gualdi 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package grails.plugins.ckeditor 18 | 19 | class UrlMappings { 20 | 21 | static mappings = { 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/elegant.css: -------------------------------------------------------------------------------- 1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;} 2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;} 3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;} 4 | .cm-s-elegant span.cm-variable {color: black;} 5 | .cm-s-elegant span.cm-variable-2 {color: #b11;} 6 | .cm-s-elegant span.cm-qualifier {color: #555;} 7 | .cm-s-elegant span.cm-keyword {color: #730;} 8 | .cm-s-elegant span.cm-builtin {color: #30a;} 9 | .cm-s-elegant span.cm-link {color: #762;} 10 | .cm-s-elegant span.cm-error {background-color: #fdd;} 11 | 12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;} 13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 14 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/mode/multiplex_test.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | CodeMirror.defineMode("markdown_with_stex", function(){ 3 | var inner = CodeMirror.getMode({}, "stex"); 4 | var outer = CodeMirror.getMode({}, "markdown"); 5 | 6 | var innerOptions = { 7 | open: '$', 8 | close: '$', 9 | mode: inner, 10 | delimStyle: 'delim', 11 | innerStyle: 'inner' 12 | }; 13 | 14 | return CodeMirror.multiplexingMode(outer, innerOptions); 15 | }); 16 | 17 | var mode = CodeMirror.getMode({}, "markdown_with_stex"); 18 | 19 | function MT(name) { 20 | test.mode( 21 | name, 22 | mode, 23 | Array.prototype.slice.call(arguments, 1), 24 | 'multiplexing'); 25 | } 26 | 27 | MT( 28 | "stexInsideMarkdown", 29 | "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]"); 30 | })(); 31 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.md or http://ckeditor.com/license 3 | 4 | cs.js Found: 118 Missing: 0 5 | cy.js Found: 118 Missing: 0 6 | de.js Found: 118 Missing: 0 7 | el.js Found: 16 Missing: 102 8 | eo.js Found: 118 Missing: 0 9 | et.js Found: 31 Missing: 87 10 | fa.js Found: 24 Missing: 94 11 | fi.js Found: 23 Missing: 95 12 | fr.js Found: 118 Missing: 0 13 | hr.js Found: 23 Missing: 95 14 | it.js Found: 118 Missing: 0 15 | nb.js Found: 118 Missing: 0 16 | nl.js Found: 118 Missing: 0 17 | no.js Found: 118 Missing: 0 18 | tr.js Found: 118 Missing: 0 19 | ug.js Found: 39 Missing: 79 20 | zh-cn.js Found: 118 Missing: 0 21 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/lint/yaml-lint.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml 12 | 13 | // declare global: jsyaml 14 | 15 | CodeMirror.registerHelper("lint", "yaml", function(text) { 16 | var found = []; 17 | try { jsyaml.load(text); } 18 | catch(e) { 19 | var loc = e.mark; 20 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message }); 21 | } 22 | return found; 23 | }); 24 | 25 | }); 26 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/sample_posteddata.php: -------------------------------------------------------------------------------- 1 |
 2 | 
 3 | -------------------------------------------------------------------------------------------
 4 |   CKEditor - Posted Data
 5 | 
 6 |   We are sorry, but your Web server does not support the PHP language used in this script.
 7 | 
 8 |   Please note that CKEditor can be used with any other server-side language than just PHP.
 9 |   To save the content created with CKEditor you need to read the POST data on the server
10 |   side and write it to a file or the database.
11 | 
12 |   Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
13 |   For licensing, see LICENSE.md or http://ckeditor.com/license
14 | -------------------------------------------------------------------------------------------
15 | 
16 | 
*/ include "assets/posteddata.php"; ?> 17 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/hint/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | .CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /src/docs/introduction/currentVersion.adoc: -------------------------------------------------------------------------------- 1 | === Current version 2 | 3 | [NOTE] 4 | ==== 5 | The versioning model has changed. Since version 3.3.2 the version number of the plugin will reflect the one of the underline integrated CKeditor library. 6 | If necessary a 4th level point release number will be used for successive changes on the plugin's code with same version of CKeditor. 7 | 8 | Eg. 9 | |=== 10 | | CKeditor release | Initial plugin version | Maintenance release 11 | | 3.3.2 | 3.3.2.0 | 3.3.2.1 12 | | 3.4 | 3.4.0 | 3.4.0.1 13 | | 3.6.6.1 | 3.6.6.1.0 | 3.6.6.1.1 14 | |=== 15 | 16 | ==== 17 | 18 | Current version is *{revnumber}* (for Grails 2.x the latest version is *4.5.4.1*) 19 | 20 | Based on http://ckeditor.com[CKEditor] version *{ckeditorVersion}* 21 | 22 | This version is developed with *Grails {grailsVersion}* 23 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/colordialog/dialogs/colordialog.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 3 | * For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | 6 | .cke_colordialog_colorcell { 7 | width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */ 8 | height: 14px; 9 | padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */ 10 | } 11 | 12 | .cke_colordialog_colorcell.cke_colordialog_focused_light, 13 | .cke_colordialog_colorcell.cke_colordialog_focused_dark { 14 | padding: 0; /* Shrink cell to allow 1px border indicating focus. */ 15 | border: 1px dotted #000; 16 | } 17 | 18 | .cke_colordialog_colorcell.cke_colordialog_focused_dark { 19 | border-color: #FFF; 20 | } 21 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-hints { 2 | position: absolute; 3 | z-index: 10; 4 | overflow: hidden; 5 | list-style: none; 6 | 7 | margin: 0; 8 | padding: 2px; 9 | 10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2); 12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2); 13 | border-radius: 3px; 14 | border: 1px solid silver; 15 | 16 | background: white; 17 | font-size: 90%; 18 | font-family: monospace; 19 | 20 | max-height: 20em; 21 | overflow-y: auto; 22 | } 23 | 24 | .CodeMirror-hint { 25 | margin: 0; 26 | padding: 0 4px; 27 | border-radius: 2px; 28 | max-width: 19em; 29 | overflow: hidden; 30 | white-space: pre; 31 | color: black; 32 | cursor: pointer; 33 | } 34 | 35 | li.CodeMirror-hint-active { 36 | background: #08f; 37 | color: white; 38 | } 39 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "codemirror", 3 | "version":"4.0.4", 4 | "main": "lib/codemirror.js", 5 | "description": "In-browser code editing made bearable", 6 | "licenses": [{"type": "MIT", 7 | "url": "http://codemirror.net/LICENSE"}], 8 | "directories": {"lib": "./lib"}, 9 | "scripts": {"test": "node ./test/run.js"}, 10 | "devDependencies": {"node-static": "0.6.0", 11 | "phantomjs": "1.9.2-5"}, 12 | "bugs": "http://github.com/marijnh/CodeMirror/issues", 13 | "keywords": ["JavaScript", "CodeMirror", "Editor"], 14 | "homepage": "http://codemirror.net", 15 | "maintainers":[{"name": "Marijn Haverbeke", 16 | "email": "marijnh@gmail.com", 17 | "web": "http://marijnhaverbeke.nl"}], 18 | "repository": {"type": "git", 19 | "url": "https://github.com/marijnh/CodeMirror.git"} 20 | } 21 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/styles/reset.css: -------------------------------------------------------------------------------- 1 | html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td 2 | { 3 | margin: 0; 4 | padding: 0; 5 | border: 0; 6 | outline: 0; 7 | font-size: 100%; 8 | vertical-align: baseline; 9 | background: transparent 10 | } 11 | 12 | body { 13 | line-height: 1 14 | } 15 | 16 | ol,ul { 17 | list-style: none 18 | } 19 | 20 | blockquote,q { 21 | quotes: none 22 | } 23 | 24 | blockquote:before,blockquote:after,q:before,q:after { 25 | content: ''; 26 | content: none 27 | } 28 | 29 | :focus { 30 | outline: 0 31 | } 32 | 33 | ins { 34 | text-decoration: none 35 | } 36 | 37 | del { 38 | text-decoration: line-through 39 | } 40 | 41 | table { 42 | border-collapse: collapse; 43 | border-spacing: 0 44 | } -------------------------------------------------------------------------------- /src/main/groovy/grails/plugins/ckeditor/utils/PluginUtils.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010 Stefano Gualdi 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package grails.plugins.ckeditor.utils 18 | 19 | /** 20 | * @author Stefano Gualdi 21 | */ 22 | 23 | class PluginUtils { 24 | 25 | static getPluginResourcePath(contextPath, pluginName) { 26 | return contextPath 27 | } 28 | } -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 2 | 3 | // declare global: jsonlint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("../../lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "json", function(text) { 16 | var found = []; 17 | jsonlint.parseError = function(str, hash) { 18 | var loc = hash.loc; 19 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 20 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 21 | message: str}); 22 | }; 23 | try { jsonlint.parse(text); } 24 | catch(e) {} 25 | return found; 26 | }); 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/edit/trailingspace.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) { 10 | if (prev == CodeMirror.Init) prev = false; 11 | if (prev && !val) 12 | cm.removeOverlay("trailingspace"); 13 | else if (!prev && val) 14 | cm.addOverlay({ 15 | token: function(stream) { 16 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {} 17 | if (i > stream.pos) { stream.pos = i; return null; } 18 | stream.pos = l; 19 | return "trailingspace"; 20 | }, 21 | name: "trailingspace" 22 | }); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.md or http://ckeditor.com/license 3 | 4 | cs.js Found: 30 Missing: 0 5 | cy.js Found: 30 Missing: 0 6 | da.js Found: 12 Missing: 18 7 | de.js Found: 30 Missing: 0 8 | el.js Found: 25 Missing: 5 9 | eo.js Found: 30 Missing: 0 10 | fa.js Found: 30 Missing: 0 11 | fi.js Found: 30 Missing: 0 12 | fr.js Found: 30 Missing: 0 13 | gu.js Found: 12 Missing: 18 14 | he.js Found: 30 Missing: 0 15 | it.js Found: 30 Missing: 0 16 | mk.js Found: 5 Missing: 25 17 | nb.js Found: 30 Missing: 0 18 | nl.js Found: 30 Missing: 0 19 | no.js Found: 30 Missing: 0 20 | pt-br.js Found: 30 Missing: 0 21 | ro.js Found: 6 Missing: 24 22 | tr.js Found: 30 Missing: 0 23 | ug.js Found: 27 Missing: 3 24 | vi.js Found: 6 Missing: 24 25 | zh-cn.js Found: 30 Missing: 0 26 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css: -------------------------------------------------------------------------------- 1 | /* neo theme for codemirror */ 2 | 3 | /* Color scheme */ 4 | 5 | .cm-s-neo.CodeMirror { 6 | background-color:#ffffff; 7 | color:#2e383c; 8 | line-height:1.4375; 9 | } 10 | .cm-s-neo .cm-comment {color:#75787b} 11 | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} 12 | .cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} 13 | .cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} 14 | .cm-s-neo .cm-string {color:#b35e14} 15 | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} 16 | 17 | 18 | /* Editor styling */ 19 | 20 | .cm-s-neo pre { 21 | padding:0; 22 | } 23 | 24 | .cm-s-neo .CodeMirror-gutters { 25 | border:none; 26 | border-right:10px solid transparent; 27 | background-color:transparent; 28 | } 29 | 30 | .cm-s-neo .CodeMirror-linenumber { 31 | padding:0; 32 | color:#e0e2e5; 33 | } 34 | 35 | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } 36 | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } 37 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/dialog/assets/my_dialog.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 3 | * For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.dialog.add( 'myDialog', function() { 7 | return { 8 | title: 'My Dialog', 9 | minWidth: 400, 10 | minHeight: 200, 11 | contents: [ 12 | { 13 | id: 'tab1', 14 | label: 'First Tab', 15 | title: 'First Tab', 16 | elements: [ 17 | { 18 | id: 'input1', 19 | type: 'text', 20 | label: 'Text Field' 21 | }, 22 | { 23 | id: 'select1', 24 | type: 'select', 25 | label: 'Select Field', 26 | items: [ 27 | [ 'option1', 'value1' ], 28 | [ 'option2', 'value2' ] 29 | ] 30 | } 31 | ] 32 | }, 33 | { 34 | id: 'tab2', 35 | label: 'Second Tab', 36 | title: 'Second Tab', 37 | elements: [ 38 | { 39 | id: 'button1', 40 | type: 'button', 41 | label: 'Button Field' 42 | } 43 | ] 44 | } 45 | ] 46 | }; 47 | } ); 48 | 49 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/test/phantom_driver.js: -------------------------------------------------------------------------------- 1 | var page = require('webpage').create(); 2 | 3 | page.open("http://localhost:3000/test/index.html", function (status) { 4 | if (status != "success") { 5 | console.log("page couldn't be loaded successfully"); 6 | phantom.exit(1); 7 | } 8 | waitFor(function () { 9 | return page.evaluate(function () { 10 | var output = document.getElementById('status'); 11 | if (!output) { return false; } 12 | return (/^(\d+ failures?|all passed)/i).test(output.innerText); 13 | }); 14 | }, function () { 15 | var failed = page.evaluate(function () { return window.failed; }); 16 | var output = page.evaluate(function () { 17 | return document.getElementById('output').innerText + "\n" + 18 | document.getElementById('status').innerText; 19 | }); 20 | console.log(output); 21 | phantom.exit(failed > 0 ? 1 : 0); 22 | }); 23 | }); 24 | 25 | function waitFor (test, cb) { 26 | if (test()) { 27 | cb(); 28 | } else { 29 | setTimeout(function () { waitFor(test, cb); }, 250); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/wsc/README.md: -------------------------------------------------------------------------------- 1 | CKEditor WebSpellChecker Plugin 2 | =============================== 3 | 4 | This plugin brings Web Spell Checker (WSC) into CKEditor. 5 | 6 | WSC is "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution. 7 | 8 | Installation 9 | ------------ 10 | 11 | 1. Clone/copy this repository contents in a new "plugins/wsc" folder in your CKEditor installation. 12 | 2. Enable the "wsc" plugin in the CKEditor configuration file (config.js): 13 | 14 | config.extraPlugins = 'wsc'; 15 | 16 | That's all. WSC will appear on the editor toolbar and will be ready to use. 17 | 18 | License 19 | ------- 20 | 21 | Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html). 22 | 23 | See LICENSE.md for more information. 24 | 25 | Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/). 26 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/scayt/README.md: -------------------------------------------------------------------------------- 1 | CKEditor SCAYT Plugin 2 | ===================== 3 | 4 | This plugin brings Spell Check As You Type (SCAYT) into up to CKEditor 4+. 5 | 6 | SCAYT is a "installation-less", using the web-services of [WebSpellChecker.net](http://www.webspellchecker.net/). It's an out of the box solution. 7 | 8 | Installation 9 | ------------ 10 | 11 | 1. Clone/copy this repository contents in a new "plugins/scayt" folder in your CKEditor installation. 12 | 2. Enable the "scayt" plugin in the CKEditor configuration file (config.js): 13 | 14 | config.extraPlugins = 'scayt'; 15 | 16 | That's all. SCAYT will appear on the editor toolbar and will be ready to use. 17 | 18 | License 19 | ------- 20 | 21 | Licensed under the terms of any of the following licenses at your choice: [GPL](http://www.gnu.org/licenses/gpl.html), [LGPL](http://www.gnu.org/licenses/lgpl.html) and [MPL](http://www.mozilla.org/MPL/MPL-1.1.html). 22 | 23 | See LICENSE.md for more information. 24 | 25 | Developed in cooperation with [WebSpellChecker.net](http://www.webspellchecker.net/). 26 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014 by Marijn Haverbeke and others 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/lint/css-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on csslint.js from https://github.com/stubbornella/csslint 2 | 3 | // declare global: CSSLint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("../../lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "css", function(text) { 16 | var found = []; 17 | if (!window.CSSLint) return found; 18 | var results = CSSLint.verify(text), messages = results.messages, message = null; 19 | for ( var i = 0; i < messages.length; i++) { 20 | message = messages[i]; 21 | var startLine = message.line -1, endLine = message.line -1, startCol = message.col -1, endCol = message.col; 22 | found.push({ 23 | from: CodeMirror.Pos(startLine, startCol), 24 | to: CodeMirror.Pos(endLine, endCol), 25 | message: message.message, 26 | severity : message.type 27 | }); 28 | } 29 | return found; 30 | }); 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/test/run.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var lint = require("./lint/lint"); 4 | 5 | lint.checkDir("mode"); 6 | lint.checkDir("lib"); 7 | lint.checkDir("addon"); 8 | lint.checkDir("keymap"); 9 | 10 | var ok = lint.success(); 11 | 12 | var files = new (require('node-static').Server)(); 13 | 14 | var server = require('http').createServer(function (req, res) { 15 | req.addListener('end', function () { 16 | files.serve(req, res, function (err/*, result */) { 17 | if (err) { 18 | console.error(err); 19 | process.exit(1); 20 | } 21 | }); 22 | }).resume(); 23 | }).addListener('error', function (err) { 24 | throw err; 25 | }).listen(3000, function () { 26 | var childProcess = require('child_process'); 27 | var phantomjs = require("phantomjs"); 28 | var childArgs = [ 29 | require("path").join(__dirname, 'phantom_driver.js') 30 | ]; 31 | childProcess.execFile(phantomjs.path, childArgs, function (err, stdout, stderr) { 32 | server.close(); 33 | console.log(stdout); 34 | if (err) console.error(err); 35 | if (stderr) console.error(stderr); 36 | process.exit(err || stderr || !ok ? 1 : 0); 37 | }); 38 | }); 39 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014 by Marijn Haverbeke and others 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/diff/diff.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.defineMode("diff", function() { 12 | 13 | var TOKEN_NAMES = { 14 | '+': 'positive', 15 | '-': 'negative', 16 | '@': 'meta' 17 | }; 18 | 19 | return { 20 | token: function(stream) { 21 | var tw_pos = stream.string.search(/[\t ]+?$/); 22 | 23 | if (!stream.sol() || tw_pos === 0) { 24 | stream.skipToEnd(); 25 | return ("error " + ( 26 | TOKEN_NAMES[stream.string.charAt(0)] || '')).replace(/ $/, ''); 27 | } 28 | 29 | var token_name = TOKEN_NAMES[stream.peek()] || stream.skipToEnd(); 30 | 31 | if (tw_pos === -1) { 32 | stream.skipToEnd(); 33 | } else { 34 | stream.pos = tw_pos; 35 | } 36 | 37 | return token_name; 38 | } 39 | }; 40 | }); 41 | 42 | CodeMirror.defineMIME("text/x-diff", "diff"); 43 | 44 | }); 45 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-qualifier {color: #555;} 15 | .cm-s-eclipse span.cm-builtin {color: #30a;} 16 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 17 | .cm-s-eclipse span.cm-tag {color: #170;} 18 | .cm-s-eclipse span.cm-attribute {color: #00c;} 19 | .cm-s-eclipse span.cm-link {color: #219;} 20 | .cm-s-eclipse span.cm-error {color: #f00;} 21 | 22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;} 23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 24 | -------------------------------------------------------------------------------- /grails-app/views/error.gsp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <g:if env="development">Grails Runtime Exception</g:if><g:else>Error</g:else> 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
    18 |
  • An error has occurred
  • 19 |
  • Exception: ${exception}
  • 20 |
  • Message: ${message}
  • 21 |
  • Path: ${path}
  • 22 |
23 |
24 |
25 | 26 |
    27 |
  • An error has occurred
  • 28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/tern/worker.js: -------------------------------------------------------------------------------- 1 | // declare global: tern, server 2 | 3 | var server; 4 | 5 | this.onmessage = function(e) { 6 | var data = e.data; 7 | switch (data.type) { 8 | case "init": return startServer(data.defs, data.plugins, data.scripts); 9 | case "add": return server.addFile(data.name, data.text); 10 | case "del": return server.delFile(data.name); 11 | case "req": return server.request(data.body, function(err, reqData) { 12 | postMessage({id: data.id, body: reqData, err: err && String(err)}); 13 | }); 14 | case "getFile": 15 | var c = pending[data.id]; 16 | delete pending[data.id]; 17 | return c(data.err, data.text); 18 | default: throw new Error("Unknown message type: " + data.type); 19 | } 20 | }; 21 | 22 | var nextId = 0, pending = {}; 23 | function getFile(file, c) { 24 | postMessage({type: "getFile", name: file, id: ++nextId}); 25 | pending[nextId] = c; 26 | } 27 | 28 | function startServer(defs, plugins, scripts) { 29 | if (scripts) importScripts.apply(null, scripts); 30 | 31 | server = new tern.Server({ 32 | getFile: getFile, 33 | async: true, 34 | defs: defs, 35 | plugins: plugins 36 | }); 37 | } 38 | 39 | var console = { 40 | log: function(v) { postMessage({type: "debug", message: v}); } 41 | }; 42 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/cobalt.css: -------------------------------------------------------------------------------- 1 | .cm-s-cobalt.CodeMirror { background: #002240; color: white; } 2 | .cm-s-cobalt div.CodeMirror-selected { background: #b36539 !important; } 3 | .cm-s-cobalt .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 4 | .cm-s-cobalt .CodeMirror-linenumber { color: #d0d0d0; } 5 | .cm-s-cobalt .CodeMirror-cursor { border-left: 1px solid white !important; } 6 | 7 | .cm-s-cobalt span.cm-comment { color: #08f; } 8 | .cm-s-cobalt span.cm-atom { color: #845dc4; } 9 | .cm-s-cobalt span.cm-number, .cm-s-cobalt span.cm-attribute { color: #ff80e1; } 10 | .cm-s-cobalt span.cm-keyword { color: #ffee80; } 11 | .cm-s-cobalt span.cm-string { color: #3ad900; } 12 | .cm-s-cobalt span.cm-meta { color: #ff9d00; } 13 | .cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; } 14 | .cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; } 15 | .cm-s-cobalt span.cm-bracket { color: #d8d8d8; } 16 | .cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; } 17 | .cm-s-cobalt span.cm-link { color: #845dc4; } 18 | .cm-s-cobalt span.cm-error { color: #9d1e15; } 19 | 20 | .cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;} 21 | .cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} 22 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/lint/coffeescript-lint.js: -------------------------------------------------------------------------------- 1 | // Depends on coffeelint.js from http://www.coffeelint.org/js/coffeelint.js 2 | 3 | // declare global: coffeelint 4 | 5 | (function(mod) { 6 | if (typeof exports == "object" && typeof module == "object") // CommonJS 7 | mod(require("../../lib/codemirror")); 8 | else if (typeof define == "function" && define.amd) // AMD 9 | define(["../../lib/codemirror"], mod); 10 | else // Plain browser env 11 | mod(CodeMirror); 12 | })(function(CodeMirror) { 13 | "use strict"; 14 | 15 | CodeMirror.registerHelper("lint", "coffeescript", function(text) { 16 | var found = []; 17 | var parseError = function(err) { 18 | var loc = err.lineNumber; 19 | found.push({from: CodeMirror.Pos(loc-1, 0), 20 | to: CodeMirror.Pos(loc, 0), 21 | severity: err.level, 22 | message: err.message}); 23 | }; 24 | try { 25 | var res = coffeelint.lint(text); 26 | for(var i = 0; i < res.length; i++) { 27 | parseError(res[i]); 28 | } 29 | } catch(e) { 30 | found.push({from: CodeMirror.Pos(e.location.first_line, 0), 31 | to: CodeMirror.Pos(e.location.last_line, e.location.last_column), 32 | severity: 'error', 33 | message: e.message}); 34 | } 35 | return found; 36 | }); 37 | 38 | }); 39 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/runmode/colorize.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror"), require("./runmode")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror", "./runmode"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | var isBlock = /^(p|li|div|h\\d|pre|blockquote|td)$/; 12 | 13 | function textContent(node, out) { 14 | if (node.nodeType == 3) return out.push(node.nodeValue); 15 | for (var ch = node.firstChild; ch; ch = ch.nextSibling) { 16 | textContent(ch, out); 17 | if (isBlock.test(node.nodeType)) out.push("\n"); 18 | } 19 | } 20 | 21 | CodeMirror.colorize = function(collection, defaultMode) { 22 | if (!collection) collection = document.body.getElementsByTagName("pre"); 23 | 24 | for (var i = 0; i < collection.length; ++i) { 25 | var node = collection[i]; 26 | var mode = node.getAttribute("data-lang") || defaultMode; 27 | if (!mode) continue; 28 | 29 | var text = []; 30 | textContent(node, text); 31 | node.innerHTML = ""; 32 | CodeMirror.runMode(text.join(""), mode, node); 33 | 34 | node.className += " cm-s-default"; 35 | } 36 | }; 37 | }); 38 | -------------------------------------------------------------------------------- /src/main/groovy/grails/plugins/ckeditor/exceptions/UnknownOptionException.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010 Stefano Gualdi 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package grails.plugins.ckeditor.exceptions 18 | 19 | import org.grails.core.exceptions.GrailsException 20 | 21 | /** 22 | * @author Stefano Gualdi 23 | */ 24 | 25 | class UnknownOptionException extends GrailsException { 26 | 27 | public UnknownOptionException() { 28 | super() 29 | } 30 | 31 | public UnknownOptionException(String arg0) { 32 | super(arg0) 33 | } 34 | 35 | public UnknownOptionException(String arg0, Throwable arg1) { 36 | super(arg0, arg1) 37 | } 38 | 39 | public UnknownOptionException(Throwable arg0) { 40 | super(arg0) 41 | } 42 | } -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/edit/continuelist.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | var listRE = /^(\s*)([*+-]|(\d+)\.)(\s*)/, 12 | unorderedBullets = "*+-"; 13 | 14 | CodeMirror.commands.newlineAndIndentContinueMarkdownList = function(cm) { 15 | if (cm.getOption("disableInput")) return CodeMirror.Pass; 16 | var ranges = cm.listSelections(), replacements = []; 17 | for (var i = 0; i < ranges.length; i++) { 18 | var pos = ranges[i].head, match; 19 | var inList = cm.getStateAfter(pos.line).list !== false; 20 | 21 | if (!ranges[i].empty() || !inList || !(match = cm.getLine(pos.line).match(listRE))) { 22 | cm.execCommand("newlineAndIndent"); 23 | return; 24 | } 25 | var indent = match[1], after = match[4]; 26 | var bullet = unorderedBullets.indexOf(match[2]) >= 0 27 | ? match[2] 28 | : (parseInt(match[3], 10) + 1) + "."; 29 | 30 | replacements[i] = "\n" + indent + bullet + after; 31 | } 32 | 33 | cm.replaceSelections(replacements); 34 | }; 35 | }); 36 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/monokai.css: -------------------------------------------------------------------------------- 1 | /* Based on Sublime Text's Monokai theme */ 2 | 3 | .cm-s-monokai.CodeMirror {background: #272822; color: #f8f8f2;} 4 | .cm-s-monokai div.CodeMirror-selected {background: #49483E !important;} 5 | .cm-s-monokai .CodeMirror-gutters {background: #272822; border-right: 0px;} 6 | .cm-s-monokai .CodeMirror-linenumber {color: #d0d0d0;} 7 | .cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;} 8 | 9 | .cm-s-monokai span.cm-comment {color: #75715e;} 10 | .cm-s-monokai span.cm-atom {color: #ae81ff;} 11 | .cm-s-monokai span.cm-number {color: #ae81ff;} 12 | 13 | .cm-s-monokai span.cm-property, .cm-s-monokai span.cm-attribute {color: #a6e22e;} 14 | .cm-s-monokai span.cm-keyword {color: #f92672;} 15 | .cm-s-monokai span.cm-string {color: #e6db74;} 16 | 17 | .cm-s-monokai span.cm-variable {color: #a6e22e;} 18 | .cm-s-monokai span.cm-variable-2 {color: #9effff;} 19 | .cm-s-monokai span.cm-def {color: #fd971f;} 20 | .cm-s-monokai span.cm-bracket {color: #f8f8f2;} 21 | .cm-s-monokai span.cm-tag {color: #f92672;} 22 | .cm-s-monokai span.cm-link {color: #ae81ff;} 23 | .cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;} 24 | 25 | .cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;} 26 | .cm-s-monokai .CodeMirror-matchingbracket { 27 | text-decoration: underline; 28 | color: white !important; 29 | } 30 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/assets/uilanguages/languages.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German","de-ch":"German (Switzerland)",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew",hi:"Hindi", 6 | hr:"Croatian",hu:"Hungarian",id:"Indonesian",is:"Icelandic",it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mk:"Macedonian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",si:"Sinhala",sk:"Slovak",sq:"Albanian",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",sv:"Swedish",th:"Thai",tr:"Turkish",tt:"Tatar", 7 | ug:"Uighur",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a,name:c[a]||a});b.sort(function(a,b){return a.name 2 | 3 | CodeMirror: Close-Tag Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 30 | 31 |
32 |

Close-Tag Demo

33 |
34 | 35 | 41 |
42 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/the-matrix.css: -------------------------------------------------------------------------------- 1 | .cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; } 2 | .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; } 3 | .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } 4 | .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; } 5 | .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; } 6 | 7 | .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;} 8 | .cm-s-the-matrix span.cm-atom {color: #3FF;} 9 | .cm-s-the-matrix span.cm-number {color: #FFB94F;} 10 | .cm-s-the-matrix span.cm-def {color: #99C;} 11 | .cm-s-the-matrix span.cm-variable {color: #F6C;} 12 | .cm-s-the-matrix span.cm-variable-2 {color: #C6F;} 13 | .cm-s-the-matrix span.cm-variable-3 {color: #96F;} 14 | .cm-s-the-matrix span.cm-property {color: #62FFA0;} 15 | .cm-s-the-matrix span.cm-operator {color: #999} 16 | .cm-s-the-matrix span.cm-comment {color: #CCCCCC;} 17 | .cm-s-the-matrix span.cm-string {color: #39C;} 18 | .cm-s-the-matrix span.cm-meta {color: #C9F;} 19 | .cm-s-the-matrix span.cm-qualifier {color: #FFF700;} 20 | .cm-s-the-matrix span.cm-builtin {color: #30a;} 21 | .cm-s-the-matrix span.cm-bracket {color: #cc7;} 22 | .cm-s-the-matrix span.cm-tag {color: #FFBD40;} 23 | .cm-s-the-matrix span.cm-attribute {color: #FFF700;} 24 | .cm-s-the-matrix span.cm-error {color: #FF0000;} 25 | 26 | .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;} 27 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/rubyblue.css: -------------------------------------------------------------------------------- 1 | .cm-s-rubyblue { font-family: Trebuchet, Verdana, sans-serif; } /* - customized editor font - */ 2 | 3 | .cm-s-rubyblue.CodeMirror { background: #112435; color: white; } 4 | .cm-s-rubyblue div.CodeMirror-selected { background: #38566F !important; } 5 | .cm-s-rubyblue .CodeMirror-gutters { background: #1F4661; border-right: 7px solid #3E7087; } 6 | .cm-s-rubyblue .CodeMirror-linenumber { color: white; } 7 | .cm-s-rubyblue .CodeMirror-cursor { border-left: 1px solid white !important; } 8 | 9 | .cm-s-rubyblue span.cm-comment { color: #999; font-style:italic; line-height: 1em; } 10 | .cm-s-rubyblue span.cm-atom { color: #F4C20B; } 11 | .cm-s-rubyblue span.cm-number, .cm-s-rubyblue span.cm-attribute { color: #82C6E0; } 12 | .cm-s-rubyblue span.cm-keyword { color: #F0F; } 13 | .cm-s-rubyblue span.cm-string { color: #F08047; } 14 | .cm-s-rubyblue span.cm-meta { color: #F0F; } 15 | .cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; } 16 | .cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; } 17 | .cm-s-rubyblue span.cm-bracket { color: #F0F; } 18 | .cm-s-rubyblue span.cm-link { color: #F4C20B; } 19 | .cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; } 20 | .cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; } 21 | .cm-s-rubyblue span.cm-error { color: #AF2018; } 22 | 23 | .cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;} 24 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/README.md: -------------------------------------------------------------------------------- 1 | CKEditor 4 2 | ========== 3 | 4 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. 5 | http://ckeditor.com - See LICENSE.md for license information. 6 | 7 | CKEditor is a text editor to be used inside web pages. It's not a replacement 8 | for desktop text editors like Word or OpenOffice, but a component to be used as 9 | part of web applications and websites. 10 | 11 | ## Documentation 12 | 13 | The full editor documentation is available online at the following address: 14 | http://docs.ckeditor.com 15 | 16 | ## Installation 17 | 18 | Installing CKEditor is an easy task. Just follow these simple steps: 19 | 20 | 1. **Download** the latest version from the CKEditor website: 21 | http://ckeditor.com. You should have already completed this step, but be 22 | sure you have the very latest version. 23 | 2. **Extract** (decompress) the downloaded file into the root of your website. 24 | 25 | **Note:** CKEditor is by default installed in the `ckeditor` folder. You can 26 | place the files in whichever you want though. 27 | 28 | ## Checking Your Installation 29 | 30 | The editor comes with a few sample pages that can be used to verify that 31 | installation proceeded properly. Take a look at the `samples` directory. 32 | 33 | To test your installation, just call the following page at your website: 34 | 35 | http:////samples/index.html 36 | 37 | For example: 38 | 39 | http://www.example.com/ckeditor/samples/index.html 40 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/scayt/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | SCAYT plugin for CKEditor 4 Changelog 2 | ==================== 3 | ### CKEditor 4.5.6 4 | 5 | New Features: 6 | * CKEditor [language addon](http://ckeditor.com/addon/language) support 7 | * CKEditor [placeholder addon](http://ckeditor.com/addon/placeholder) support 8 | * Drag and Drop support 9 | * *Experimental* GRAYT functionality http://www.webspellchecker.net/samples/scayt-ckeditor-plugin.html#25 10 | 11 | Fixed issues: 12 | * [#98](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/98) SCAYT Affects Dialog Double Click. Fixed in SCAYT Core. 13 | * [#102](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/102) SCAYT Core performance enhancements 14 | * [#104](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/104) SCAYT's spans leak into the clipboard and after pasting 15 | * [#105](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/105) Javascript error fired in case of multiple instances of CKEditor in one page 16 | * [#107](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/107) SCAYT should not check non-editable parts of content 17 | * [#108](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/108) Latest SCAYT copies id of editor element to the iframe 18 | * SCAYT stops working when CKEditor Undo plug-in not enabled 19 | * Issue with pasting SCAYT markup in CKEditor 20 | * [#32](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/32) SCAYT stops working after pressing Cancel button in WSC dialog 21 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/mbo.css: -------------------------------------------------------------------------------- 1 | /* Based on mbonaci's Brackets mbo theme */ 2 | 3 | .cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffe9;} 4 | .cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;} 5 | .cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;} 6 | .cm-s-mbo .CodeMirror-linenumber {color: #dadada;} 7 | .cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;} 8 | 9 | .cm-s-mbo span.cm-comment {color: #95958a;} 10 | .cm-s-mbo span.cm-atom {color: #00a8c6;} 11 | .cm-s-mbo span.cm-number {color: #00a8c6;} 12 | 13 | .cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;} 14 | .cm-s-mbo span.cm-keyword {color: #ffb928;} 15 | .cm-s-mbo span.cm-string {color: #ffcf6c;} 16 | 17 | .cm-s-mbo span.cm-variable {color: #ffffec;} 18 | .cm-s-mbo span.cm-variable-2 {color: #00a8c6;} 19 | .cm-s-mbo span.cm-def {color: #ffffec;} 20 | .cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;} 21 | .cm-s-mbo span.cm-tag {color: #9ddfe9;} 22 | .cm-s-mbo span.cm-link {color: #f54b07;} 23 | .cm-s-mbo span.cm-error {background: #636363; color: #ffffec;} 24 | 25 | .cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;} 26 | .cm-s-mbo .CodeMirror-matchingbracket { 27 | text-decoration: underline; 28 | color: #f5e107 !important; 29 | } 30 | 31 | .cm-s-mbo .CodeMirror-matchingtag {background: #4e4e4e;} 32 | 33 | .cm-s-mbo span.cm-searching { 34 | background-color: none; 35 | background: none; 36 | box-shadow: 0 0 0 1px #ffffec; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/blackboard.css: -------------------------------------------------------------------------------- 1 | /* Port of TextMate's Blackboard theme */ 2 | 3 | .cm-s-blackboard.CodeMirror { background: #0C1021; color: #F8F8F8; } 4 | .cm-s-blackboard .CodeMirror-selected { background: #253B76 !important; } 5 | .cm-s-blackboard .CodeMirror-gutters { background: #0C1021; border-right: 0; } 6 | .cm-s-blackboard .CodeMirror-linenumber { color: #888; } 7 | .cm-s-blackboard .CodeMirror-cursor { border-left: 1px solid #A7A7A7 !important; } 8 | 9 | .cm-s-blackboard .cm-keyword { color: #FBDE2D; } 10 | .cm-s-blackboard .cm-atom { color: #D8FA3C; } 11 | .cm-s-blackboard .cm-number { color: #D8FA3C; } 12 | .cm-s-blackboard .cm-def { color: #8DA6CE; } 13 | .cm-s-blackboard .cm-variable { color: #FF6400; } 14 | .cm-s-blackboard .cm-operator { color: #FBDE2D;} 15 | .cm-s-blackboard .cm-comment { color: #AEAEAE; } 16 | .cm-s-blackboard .cm-string { color: #61CE3C; } 17 | .cm-s-blackboard .cm-string-2 { color: #61CE3C; } 18 | .cm-s-blackboard .cm-meta { color: #D8FA3C; } 19 | .cm-s-blackboard .cm-builtin { color: #8DA6CE; } 20 | .cm-s-blackboard .cm-tag { color: #8DA6CE; } 21 | .cm-s-blackboard .cm-attribute { color: #8DA6CE; } 22 | .cm-s-blackboard .cm-header { color: #FF6400; } 23 | .cm-s-blackboard .cm-hr { color: #AEAEAE; } 24 | .cm-s-blackboard .cm-link { color: #8DA6CE; } 25 | .cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; } 26 | 27 | .cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;} 28 | .cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important} -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/display/fullscreen.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.defineOption("fullScreen", false, function(cm, val, old) { 12 | if (old == CodeMirror.Init) old = false; 13 | if (!old == !val) return; 14 | if (val) setFullscreen(cm); 15 | else setNormal(cm); 16 | }); 17 | 18 | function setFullscreen(cm) { 19 | var wrap = cm.getWrapperElement(); 20 | cm.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, 21 | width: wrap.style.width, height: wrap.style.height}; 22 | wrap.style.width = ""; 23 | wrap.style.height = "auto"; 24 | wrap.className += " CodeMirror-fullscreen"; 25 | document.documentElement.style.overflow = "hidden"; 26 | cm.refresh(); 27 | } 28 | 29 | function setNormal(cm) { 30 | var wrap = cm.getWrapperElement(); 31 | wrap.className = wrap.className.replace(/\s*CodeMirror-fullscreen\b/, ""); 32 | document.documentElement.style.overflow = ""; 33 | var info = cm.state.fullScreenRestore; 34 | wrap.style.width = info.width; wrap.style.height = info.height; 35 | window.scrollTo(info.scrollLeft, info.scrollTop); 36 | cm.refresh(); 37 | } 38 | }); 39 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/ntriples/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: NTriples mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 28 | 29 |
30 |

NTriples mode

31 |
32 | 39 |
40 | 41 | 44 |

MIME types defined: text/n-triples.

45 |
46 | -------------------------------------------------------------------------------- /src/main/groovy/grails/plugins/ckeditor/utils/FileUtils.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2010 Stefano Gualdi 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package grails.plugins.ckeditor.utils 18 | 19 | import grails.util.Holders 20 | 21 | /** 22 | * @author Stefano Gualdi 23 | */ 24 | class FileUtils { 25 | static isFileAllowed(filename, type) { 26 | def f = PathUtils.splitFilename(filename) 27 | return isAllowed(f.ext, type) 28 | } 29 | 30 | static isAllowed(ext, type) { 31 | def config = Holders.config.ckeditor.upload 32 | 33 | def resourceType = type.toLowerCase() 34 | if (resourceType == 'file') { 35 | resourceType = 'link' 36 | } 37 | def fileExt = ext.toLowerCase() 38 | 39 | def allowed = config."${resourceType}".allowed ?: [] 40 | def denied = config."${resourceType}".denied ?: [] 41 | 42 | return ((fileExt in allowed || allowed.empty) && !(fileExt in denied)) 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/scroll/scrollpastend.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.defineOption("scrollPastEnd", false, function(cm, val, old) { 12 | if (old && old != CodeMirror.Init) { 13 | cm.off("change", onChange); 14 | cm.off("refresh", updateBottomMargin); 15 | cm.display.lineSpace.parentNode.style.paddingBottom = ""; 16 | cm.state.scrollPastEndPadding = null; 17 | } 18 | if (val) { 19 | cm.on("change", onChange); 20 | cm.on("refresh", updateBottomMargin); 21 | updateBottomMargin(cm); 22 | } 23 | }); 24 | 25 | function onChange(cm, change) { 26 | if (CodeMirror.changeEnd(change).line == cm.lastLine()) 27 | updateBottomMargin(cm); 28 | } 29 | 30 | function updateBottomMargin(cm) { 31 | var padding = ""; 32 | if (cm.lineCount() > 1) { 33 | var totalH = cm.display.scroller.clientHeight - 30, 34 | lastLineH = cm.getLineHandle(cm.lastLine()).height; 35 | padding = (totalH - lastLineH) + "px"; 36 | } 37 | if (cm.state.scrollPastEndPadding != padding) { 38 | cm.state.scrollPastEndPadding = padding; 39 | cm.display.lineSpace.parentNode.style.paddingBottom = padding; 40 | cm.setSize(); 41 | } 42 | } 43 | }); 44 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/http/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: HTTP mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

HTTP mode

27 | 28 | 29 |
39 | 40 | 43 | 44 |

MIME types defined: message/http.

45 |
46 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/wsc/LICENSE.md: -------------------------------------------------------------------------------- 1 | Software License Agreement 2 | ========================== 3 | 4 | **CKEditor WSC Plugin** 5 | Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved. 6 | 7 | Licensed under the terms of any of the following licenses at your choice: 8 | 9 | * GNU General Public License Version 2 or later (the "GPL"): 10 | http://www.gnu.org/licenses/gpl.html 11 | 12 | * GNU Lesser General Public License Version 2.1 or later (the "LGPL"): 13 | http://www.gnu.org/licenses/lgpl.html 14 | 15 | * Mozilla Public License Version 1.1 or later (the "MPL"): 16 | http://www.mozilla.org/MPL/MPL-1.1.html 17 | 18 | You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice. 19 | 20 | Sources of Intellectual Property Included in this plugin 21 | -------------------------------------------------------- 22 | 23 | Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission. 24 | 25 | Trademarks 26 | ---------- 27 | 28 | CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. 29 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/scayt/LICENSE.md: -------------------------------------------------------------------------------- 1 | Software License Agreement 2 | ========================== 3 | 4 | **CKEditor SCAYT Plugin** 5 | Copyright © 2012, [CKSource](http://cksource.com) - Frederico Knabben. All rights reserved. 6 | 7 | Licensed under the terms of any of the following licenses at your choice: 8 | 9 | * GNU General Public License Version 2 or later (the "GPL"): 10 | http://www.gnu.org/licenses/gpl.html 11 | 12 | * GNU Lesser General Public License Version 2.1 or later (the "LGPL"): 13 | http://www.gnu.org/licenses/lgpl.html 14 | 15 | * Mozilla Public License Version 1.1 or later (the "MPL"): 16 | http://www.mozilla.org/MPL/MPL-1.1.html 17 | 18 | You are not required to, but if you want to explicitly declare the license you have chosen to be bound to when using, reproducing, modifying and distributing this software, just include a text file titled "legal.txt" in your version of this software, indicating your license choice. 19 | 20 | Sources of Intellectual Property Included in this plugin 21 | -------------------------------------------------------- 22 | 23 | Where not otherwise indicated, all plugin content is authored by CKSource engineers and consists of CKSource-owned intellectual property. In some specific instances, the plugin will incorporate work done by developers outside of CKSource with their express permission. 24 | 25 | Trademarks 26 | ---------- 27 | 28 | CKEditor is a trademark of CKSource - Frederico Knabben. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders. 29 | -------------------------------------------------------------------------------- /gradle/publish.gradle: -------------------------------------------------------------------------------- 1 | File bintrayProperties = project.rootProject.file('bintray.properties') 2 | if (bintrayProperties.exists()) { 3 | Properties properties = new Properties() 4 | properties.load(bintrayProperties.newDataInputStream()) 5 | 6 | ext { 7 | bintrayUsername = properties.bintrayUsername 8 | bintrayApiKey = properties.bintrayApiKey 9 | } 10 | 11 | grailsPublish { 12 | user = project.bintrayUsername 13 | key = project.bintrayApiKey 14 | 15 | githubSlug = 'stefanogualdi/grails-ckeditor' 16 | 17 | license { 18 | name = 'Apache-2.0' 19 | } 20 | 21 | title = "Ckeditor" 22 | desc = "CKeditor web WYSIWYG editor integration plugin." 23 | 24 | developers = [stefanogualdi: 'Stefano Gualdi', pbehl: 'Puneet Behl'] 25 | 26 | portalUser = "" 27 | portalPassword = "" 28 | } 29 | } 30 | 31 | // Publish gh-pages on github 32 | apply plugin: "org.ajoberstar.github-pages" 33 | 34 | File githubProperties = project.rootProject.file('github.properties') 35 | if (githubProperties.exists()) { 36 | Properties properties = new Properties() 37 | properties.load(githubProperties.newDataInputStream()) 38 | 39 | ext { 40 | githubApiKey = properties.githubApiKey 41 | } 42 | 43 | githubPages { 44 | repoUri = 'https://github.com/stefanogualdi/grails-ckeditor.git' 45 | 46 | credentials { 47 | username = project.hasProperty('githubApiKey') ? project.githubApiKey : '' 48 | password = '' 49 | } 50 | 51 | pages { 52 | from "${buildDir}/docs" 53 | } 54 | } 55 | 56 | task publishDocs(dependsOn: [docs, publishGhPages]) << { 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/jinja2/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Jinja2 mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Jinja2 mode

27 |
45 | 50 |
51 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/solr/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Solr mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 33 | 34 |
35 |

Solr mode

36 | 37 |
38 | 47 |
48 | 49 | 55 | 56 |

MIME types defined: text/x-solr.

57 |
58 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/wsc/dialogs/wsc.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | html, body 7 | { 8 | background-color: transparent; 9 | margin: 0px; 10 | padding: 0px; 11 | } 12 | 13 | body 14 | { 15 | padding: 10px; 16 | } 17 | 18 | body, td, input, select, textarea 19 | { 20 | font-size: 11px; 21 | font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; 22 | } 23 | 24 | .midtext 25 | { 26 | padding:0px; 27 | margin:10px; 28 | } 29 | 30 | .midtext p 31 | { 32 | padding:0px; 33 | margin:10px; 34 | } 35 | 36 | .Button 37 | { 38 | border: #737357 1px solid; 39 | color: #3b3b1f; 40 | background-color: #c7c78f; 41 | } 42 | 43 | .PopupTabArea 44 | { 45 | color: #737357; 46 | background-color: #e3e3c7; 47 | } 48 | 49 | .PopupTitleBorder 50 | { 51 | border-bottom: #d5d59d 1px solid; 52 | } 53 | .PopupTabEmptyArea 54 | { 55 | padding-left: 10px; 56 | border-bottom: #d5d59d 1px solid; 57 | } 58 | 59 | .PopupTab, .PopupTabSelected 60 | { 61 | border-right: #d5d59d 1px solid; 62 | border-top: #d5d59d 1px solid; 63 | border-left: #d5d59d 1px solid; 64 | padding: 3px 5px 3px 5px; 65 | color: #737357; 66 | } 67 | 68 | .PopupTab 69 | { 70 | margin-top: 1px; 71 | border-bottom: #d5d59d 1px solid; 72 | cursor: pointer; 73 | } 74 | 75 | .PopupTabSelected 76 | { 77 | font-weight: bold; 78 | cursor: default; 79 | padding-top: 4px; 80 | border-bottom: #f1f1e3 1px solid; 81 | background-color: #f1f1e3; 82 | } 83 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/z80/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Z80 assembly mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Z80 assembly mode

27 | 28 | 29 |
44 | 45 | 50 | 51 |

MIME type defined: text/x-z80.

52 |
53 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/link/dialogs/anchor.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("anchor",function(c){function d(a,b){return a.createFakeElement(a.document.createElement("a",{attributes:b}),"cke_anchor","anchor")}return{title:c.lang.link.anchor.title,minWidth:300,minHeight:60,onOk:function(){var a=CKEDITOR.tools.trim(this.getValueOf("info","txtName")),a={id:a,name:a,"data-cke-saved-name":a};if(this._.selectedElement)this._.selectedElement.data("cke-realelement")?(a=d(c,a),a.replace(this._.selectedElement),CKEDITOR.env.ie&&c.getSelection().selectElement(a)): 6 | this._.selectedElement.setAttributes(a);else{var b=c.getSelection(),b=b&&b.getRanges()[0];b.collapsed?(a=d(c,a),b.insertNode(a)):(CKEDITOR.env.ie&&9>CKEDITOR.env.version&&(a["class"]="cke_anchor"),a=new CKEDITOR.style({element:"a",attributes:a}),a.type=CKEDITOR.STYLE_INLINE,c.applyStyle(a))}},onHide:function(){delete this._.selectedElement},onShow:function(){var a=c.getSelection(),b=a.getSelectedElement(),d=b&&b.data("cke-realelement"),e=d?CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b):CKEDITOR.plugins.link.getSelectedLink(c); 7 | if(e){this._.selectedElement=e;var f=e.data("cke-saved-name");this.setValueOf("info","txtName",f||"");!d&&a.selectElement(e);b&&(this._.selectedElement=b)}this.getContentElement("info","txtName").focus()},contents:[{id:"info",label:c.lang.link.anchor.title,accessKey:"I",elements:[{type:"text",id:"txtName",label:c.lang.link.anchor.name,required:!0,validate:function(){return this.getValue()?!0:(alert(c.lang.link.anchor.errorName),!1)}}]}]}}); -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/ecl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: ECL mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

ECL mode

27 |
45 | 48 | 49 |

Based on CodeMirror's clike mode. For more information see HPCC Systems web site.

50 |

MIME types defined: text/x-ecl.

51 | 52 |
53 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/rust/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Rust mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Rust mode

27 | 28 | 29 |
52 | 53 | 58 | 59 |

MIME types defined: text/x-rustsrc.

60 |
61 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/3024-day.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 day 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-day.CodeMirror {background: #f7f7f7; color: #3a3432;} 12 | .cm-s-3024-day div.CodeMirror-selected {background: #d6d5d4 !important;} 13 | .cm-s-3024-day .CodeMirror-gutters {background: #f7f7f7; border-right: 0px;} 14 | .cm-s-3024-day .CodeMirror-linenumber {color: #807d7c;} 15 | .cm-s-3024-day .CodeMirror-cursor {border-left: 1px solid #5c5855 !important;} 16 | 17 | .cm-s-3024-day span.cm-comment {color: #cdab53;} 18 | .cm-s-3024-day span.cm-atom {color: #a16a94;} 19 | .cm-s-3024-day span.cm-number {color: #a16a94;} 20 | 21 | .cm-s-3024-day span.cm-property, .cm-s-3024-day span.cm-attribute {color: #01a252;} 22 | .cm-s-3024-day span.cm-keyword {color: #db2d20;} 23 | .cm-s-3024-day span.cm-string {color: #fded02;} 24 | 25 | .cm-s-3024-day span.cm-variable {color: #01a252;} 26 | .cm-s-3024-day span.cm-variable-2 {color: #01a0e4;} 27 | .cm-s-3024-day span.cm-def {color: #e8bbd0;} 28 | .cm-s-3024-day span.cm-bracket {color: #3a3432;} 29 | .cm-s-3024-day span.cm-tag {color: #db2d20;} 30 | .cm-s-3024-day span.cm-link {color: #a16a94;} 31 | .cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;} 32 | 33 | .cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;} 34 | .cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/scayt/dialogs/toolbar.css: -------------------------------------------------------------------------------- 1 | a 2 | { 3 | text-decoration:none; 4 | padding: 2px 4px 4px 6px; 5 | display : block; 6 | border-width: 1px; 7 | border-style: solid; 8 | margin : 0px; 9 | } 10 | 11 | a.cke_scayt_toogle:hover, 12 | a.cke_scayt_toogle:focus, 13 | a.cke_scayt_toogle:active 14 | { 15 | border-color: #316ac5; 16 | background-color: #dff1ff; 17 | color : #000; 18 | cursor: pointer; 19 | margin : 0px; 20 | } 21 | a.cke_scayt_toogle { 22 | color : #316ac5; 23 | border-color: #fff; 24 | } 25 | .scayt_enabled a.cke_scayt_item { 26 | color : #316ac5; 27 | border-color: #fff; 28 | margin : 0px; 29 | } 30 | .scayt_disabled a.cke_scayt_item { 31 | color : gray; 32 | border-color : #fff; 33 | } 34 | .scayt_enabled a.cke_scayt_item:hover, 35 | .scayt_enabled a.cke_scayt_item:focus, 36 | .scayt_enabled a.cke_scayt_item:active 37 | { 38 | border-color: #316ac5; 39 | background-color: #dff1ff; 40 | color : #000; 41 | cursor: pointer; 42 | } 43 | .scayt_disabled a.cke_scayt_item:hover, 44 | .scayt_disabled a.cke_scayt_item:focus, 45 | .scayt_disabled a.cke_scayt_item:active 46 | { 47 | border-color: gray; 48 | background-color: #dff1ff; 49 | color : gray; 50 | cursor: no-drop; 51 | } 52 | .cke_scayt_set_on, .cke_scayt_set_off 53 | { 54 | display: none; 55 | } 56 | .scayt_enabled .cke_scayt_set_on 57 | { 58 | display: none; 59 | } 60 | .scayt_disabled .cke_scayt_set_on 61 | { 62 | display: inline; 63 | } 64 | .scayt_disabled .cke_scayt_set_off 65 | { 66 | display: none; 67 | } 68 | .scayt_enabled .cke_scayt_set_off 69 | { 70 | display: inline; 71 | } 72 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/demo/matchtags.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Tag Matcher Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 16 | 28 | 29 |
30 |

Tag Matcher Demo

31 | 32 | 33 |
34 | 35 | 45 | 46 |

Put the cursor on or inside a pair of tags to highlight them. 47 | Press Ctrl-J to jump to the tag that matches the one under the 48 | cursor.

49 |
50 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.splitter/jquery.splitter.css: -------------------------------------------------------------------------------- 1 | /* 2 | Splitter container. Set this to the desired width and height 3 | of the combined left and right panes. In this example, the 4 | height is fixed and the width is the full width of the body, 5 | less the margin on the splitter itself. 6 | */ 7 | #splitter { 8 | background-color: white; 9 | height: 400px; 10 | border: 1px solid #ccc; 11 | /* border: 4px solid #E2EAF3; */ /* No padding allowed */ 12 | } 13 | 14 | /* 15 | Left-side element of the splitter. Use pixel units for the 16 | min-width and max-width; the splitter plugin parses them to 17 | determine the splitter movement limits. Set the width to 18 | the desired initial width of the element; the plugin changes 19 | the width of this element dynamically. 20 | */ 21 | #filetree { /* padding: 4px; */ 22 | overflow: auto; 23 | width: 30%; /* optional, initial splitbar position */ 24 | min-width: 100px; /* optional */ /* No margin or border allowed */ 25 | } 26 | 27 | #filetree>ul { 28 | padding: 4px; 29 | } 30 | 31 | /* 32 | Right-side element of the splitter. 33 | */ 34 | #fileinfo { 35 | padding: 4px; 36 | min-width: 100px; 37 | overflow: auto; 38 | /* No margin or border allowed */ 39 | } 40 | 41 | /* 42 | Splitter bar style; the .active class is added when the 43 | mouse is over the splitter or the splitter is focused 44 | via the keyboard taborder or an accessKey. 45 | */ 46 | #splitter .vsplitbar { 47 | width: 6px; 48 | background: #ccc url(vgrabber.gif) no-repeat center; 49 | } 50 | /* 51 | #splitter .vsplitbar.active, 52 | #splitter .vsplitbar:hover { 53 | background: #e88 url(vgrabber.gif) no-repeat center; 54 | } 55 | */ -------------------------------------------------------------------------------- /src/docs/tags/config.adoc: -------------------------------------------------------------------------------- 1 | [[config-tag]] 2 | === config 3 | 4 | This tag give full access to every configuration option exposed by CKEditor. 5 | 6 | The config tag provides two syntax for simple and complex option definition. 7 | 8 | All the configuration options defined with this tag will be used in every editor instance defined after it. 9 | 10 | Option names are case sensitive and must be written as indicated in the official documentation. 11 | 12 | For a full reference of the available options please refer to the http://docs.ckeditor.com/#!/api/CKEDITOR.config[official documentation] 13 | 14 | ==== Simple option 15 | 16 | [source, html] 17 | ---- 18 | 19 | ---- 20 | 21 | Many options can be set in the same tag: 22 | 23 | [source, html] 24 | ---- 25 | 28 | ---- 29 | 30 | Examples: 31 | 32 | Set height and width for all the following editor's instances 33 | 34 | [source, html] 35 | ---- 36 | 39 | ---- 40 | 41 | Set the enter key handling strategy for all the following editor's instances 42 | 43 | [source, html] 44 | ---- 45 | 46 | ---- 47 | 48 | ==== Complex option 49 | 50 | [source, html] 51 | ---- 52 | 53 | [structured_option_value] 54 | 55 | ---- 56 | 57 | Examples: 58 | 59 | Define a new toolbar 60 | 61 | [source, html] 62 | ---- 63 | 64 | [ 65 | [ 'Source', '-', 'Bold', 'Italic' ] 66 | ] 67 | 68 | ---- 69 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/samples/old/assets/posteddata.php: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | Sample — CKEditor 12 | 13 | 14 | 15 |

16 | CKEditor — Posted Data 17 |

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | $value ) 31 | { 32 | if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) 33 | continue; 34 | 35 | if ( get_magic_quotes_gpc() ) 36 | $value = htmlspecialchars( stripslashes((string)$value) ); 37 | else 38 | $value = htmlspecialchars( (string)$value ); 39 | ?> 40 | 41 | 42 | 43 | 44 | 48 |
Field NameValue
49 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/paraiso-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Dark) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-dark.CodeMirror {background: #2f1e2e; color: #b9b6b0;} 12 | .cm-s-paraiso-dark div.CodeMirror-selected {background: #41323f !important;} 13 | .cm-s-paraiso-dark .CodeMirror-gutters {background: #2f1e2e; border-right: 0px;} 14 | .cm-s-paraiso-dark .CodeMirror-linenumber {color: #776e71;} 15 | .cm-s-paraiso-dark .CodeMirror-cursor {border-left: 1px solid #8d8687 !important;} 16 | 17 | .cm-s-paraiso-dark span.cm-comment {color: #e96ba8;} 18 | .cm-s-paraiso-dark span.cm-atom {color: #815ba4;} 19 | .cm-s-paraiso-dark span.cm-number {color: #815ba4;} 20 | 21 | .cm-s-paraiso-dark span.cm-property, .cm-s-paraiso-dark span.cm-attribute {color: #48b685;} 22 | .cm-s-paraiso-dark span.cm-keyword {color: #ef6155;} 23 | .cm-s-paraiso-dark span.cm-string {color: #fec418;} 24 | 25 | .cm-s-paraiso-dark span.cm-variable {color: #48b685;} 26 | .cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;} 27 | .cm-s-paraiso-dark span.cm-def {color: #f99b15;} 28 | .cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;} 29 | .cm-s-paraiso-dark span.cm-tag {color: #ef6155;} 30 | .cm-s-paraiso-dark span.cm-link {color: #815ba4;} 31 | .cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;} 32 | 33 | .cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;} 34 | .cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /grails-app/controllers/grails/plugins/ckeditor/CkeditorUrlMappings.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 Stefano Gualdi 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package grails.plugins.ckeditor 18 | 19 | class CkeditorUrlMappings { 20 | 21 | static mappings = { 22 | 23 | def prefix = "/${CkeditorConfig.getConnectorsPrefix()}" 24 | def uploadPrefix = CkeditorConfig.getUploadPrefix() 25 | 26 | // Open File Manager 27 | delegate.(prefix + "/ofm") (controller: "openFileManagerConnector", action: "index") 28 | delegate.(prefix + "/ofm/config") (controller: "openFileManagerConnector", action: "config") 29 | delegate.(prefix + "/ofm/filemanager") (controller: "openFileManagerConnector", action: "fileManager") 30 | 31 | // Images outside the web-app dir 32 | if (uploadPrefix) { 33 | delegate.(uploadPrefix + "/$filepath**") (controller: "openFileManagerConnector", action: "show") 34 | } 35 | 36 | // File uploader 37 | delegate.(prefix + "/uploader") (controller: "openFileManagerConnector", action: "uploader") 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/turtle/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Turtle mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Turtle mode

27 |
41 | 47 | 48 |

MIME types defined: text/turtle.

49 | 50 |
51 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/3024-night.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: 3024 night 4 | Author: Jan T. Sott (http://github.com/idleberg) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-3024-night.CodeMirror {background: #090300; color: #d6d5d4;} 12 | .cm-s-3024-night div.CodeMirror-selected {background: #3a3432 !important;} 13 | .cm-s-3024-night .CodeMirror-gutters {background: #090300; border-right: 0px;} 14 | .cm-s-3024-night .CodeMirror-linenumber {color: #5c5855;} 15 | .cm-s-3024-night .CodeMirror-cursor {border-left: 1px solid #807d7c !important;} 16 | 17 | .cm-s-3024-night span.cm-comment {color: #cdab53;} 18 | .cm-s-3024-night span.cm-atom {color: #a16a94;} 19 | .cm-s-3024-night span.cm-number {color: #a16a94;} 20 | 21 | .cm-s-3024-night span.cm-property, .cm-s-3024-night span.cm-attribute {color: #01a252;} 22 | .cm-s-3024-night span.cm-keyword {color: #db2d20;} 23 | .cm-s-3024-night span.cm-string {color: #fded02;} 24 | 25 | .cm-s-3024-night span.cm-variable {color: #01a252;} 26 | .cm-s-3024-night span.cm-variable-2 {color: #01a0e4;} 27 | .cm-s-3024-night span.cm-def {color: #e8bbd0;} 28 | .cm-s-3024-night span.cm-bracket {color: #d6d5d4;} 29 | .cm-s-3024-night span.cm-tag {color: #db2d20;} 30 | .cm-s-3024-night span.cm-link {color: #a16a94;} 31 | .cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;} 32 | 33 | .cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;} 34 | .cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/demo/markselection.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Match Selection Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 16 | 28 | 29 |
30 |

Match Selection Demo

31 |
35 | 36 | 42 | 43 |

Simple addon to easily mark (and style) selected text.

44 | 45 |
46 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/fold/indent-fold.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.registerHelper("fold", "indent", function(cm, start) { 12 | var tabSize = cm.getOption("tabSize"), firstLine = cm.getLine(start.line); 13 | if (!/\S/.test(firstLine)) return; 14 | var getIndent = function(line) { 15 | return CodeMirror.countColumn(line, null, tabSize); 16 | }; 17 | var myIndent = getIndent(firstLine); 18 | var lastLineInFold = null; 19 | // Go through lines until we find a line that definitely doesn't belong in 20 | // the block we're folding, or to the end. 21 | for (var i = start.line + 1, end = cm.lastLine(); i <= end; ++i) { 22 | var curLine = cm.getLine(i); 23 | var curIndent = getIndent(curLine); 24 | if (curIndent > myIndent) { 25 | // Lines with a greater indent are considered part of the block. 26 | lastLineInFold = i; 27 | } else if (!/\S/.test(curLine)) { 28 | // Empty lines might be breaks within the block we're trying to fold. 29 | } else { 30 | // A non-empty line at an indent equal to or less than ours marks the 31 | // start of another block. 32 | break; 33 | } 34 | } 35 | if (lastLineInFold) return { 36 | from: CodeMirror.Pos(start.line, firstLine.length), 37 | to: CodeMirror.Pos(lastLineInFold, cm.getLine(lastLineInFold).length) 38 | }; 39 | }); 40 | 41 | }); 42 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/bin/source-highlight: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // Simple command-line code highlighting tool. Reads code from stdin, 4 | // spits html to stdout. For example: 5 | // 6 | // echo 'function foo(a) { return a; }' | bin/source-highlight -s javascript 7 | // bin/source-highlight -s 8 | 9 | var fs = require("fs"); 10 | 11 | var CodeMirror = require("../addon/runmode/runmode.node.js"); 12 | require("../mode/meta.js"); 13 | 14 | var sPos = process.argv.indexOf("-s"); 15 | if (sPos == -1 || sPos == process.argv.length - 1) { 16 | console.error("Usage: source-highlight -s language"); 17 | process.exit(1); 18 | } 19 | var lang = process.argv[sPos + 1].toLowerCase(), modeName = lang; 20 | CodeMirror.modeInfo.forEach(function(info) { 21 | if (info.mime == lang) { 22 | modeName = info.mode; 23 | } else if (info.name.toLowerCase() == lang) { 24 | modeName = info.mode; 25 | lang = info.mime; 26 | } 27 | }); 28 | 29 | if (!CodeMirror.modes[modeName]) 30 | require("../mode/" + modeName + "/" + modeName + ".js"); 31 | 32 | function esc(str) { 33 | return str.replace(/[<&]/g, function(ch) { return ch == "&" ? "&" : "<"; }); 34 | } 35 | 36 | var code = fs.readFileSync("/dev/stdin", "utf8"); 37 | var curStyle = null, accum = ""; 38 | function flush() { 39 | if (curStyle) process.stdout.write("" + esc(accum) + ""); 40 | else process.stdout.write(esc(accum)); 41 | } 42 | 43 | CodeMirror.runMode(code, lang, function(text, style) { 44 | if (style != curStyle) { 45 | flush(); 46 | curStyle = style; accum = text; 47 | } else { 48 | accum += text; 49 | } 50 | }); 51 | flush(); 52 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/paraiso-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Paraíso (Light) 4 | Author: Jan T. Sott 5 | 6 | Color scheme by Jan T. Sott (https://github.com/idleberg/Paraiso-CodeMirror) 7 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 8 | 9 | */ 10 | 11 | .cm-s-paraiso-light.CodeMirror {background: #e7e9db; color: #41323f;} 12 | .cm-s-paraiso-light div.CodeMirror-selected {background: #b9b6b0 !important;} 13 | .cm-s-paraiso-light .CodeMirror-gutters {background: #e7e9db; border-right: 0px;} 14 | .cm-s-paraiso-light .CodeMirror-linenumber {color: #8d8687;} 15 | .cm-s-paraiso-light .CodeMirror-cursor {border-left: 1px solid #776e71 !important;} 16 | 17 | .cm-s-paraiso-light span.cm-comment {color: #e96ba8;} 18 | .cm-s-paraiso-light span.cm-atom {color: #815ba4;} 19 | .cm-s-paraiso-light span.cm-number {color: #815ba4;} 20 | 21 | .cm-s-paraiso-light span.cm-property, .cm-s-paraiso-light span.cm-attribute {color: #48b685;} 22 | .cm-s-paraiso-light span.cm-keyword {color: #ef6155;} 23 | .cm-s-paraiso-light span.cm-string {color: #fec418;} 24 | 25 | .cm-s-paraiso-light span.cm-variable {color: #48b685;} 26 | .cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;} 27 | .cm-s-paraiso-light span.cm-def {color: #f99b15;} 28 | .cm-s-paraiso-light span.cm-bracket {color: #41323f;} 29 | .cm-s-paraiso-light span.cm-tag {color: #ef6155;} 30 | .cm-s-paraiso-light span.cm-link {color: #815ba4;} 31 | .cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;} 32 | 33 | .cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;} 34 | .cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/jquery.contextmenu/jquery.contextMenu-1.01.css: -------------------------------------------------------------------------------- 1 | /* Generic context menu styles */ 2 | .contextMenu { 3 | position: absolute; 4 | width: 150px; 5 | z-index: 99999; 6 | border: solid 1px #CCC; 7 | background: #EEE; 8 | padding: 0px; 9 | margin: 0px; 10 | display: none; 11 | } 12 | 13 | .contextMenu LI { 14 | list-style: none; 15 | padding: 0px; 16 | margin: 0px; 17 | } 18 | 19 | .contextMenu A { 20 | color: #333; 21 | text-decoration: none; 22 | display: block; 23 | line-height: 20px; 24 | height: 20px; 25 | background-position: 6px center; 26 | background-repeat: no-repeat; 27 | outline: none; 28 | padding: 1px 5px; 29 | padding-left: 28px; 30 | } 31 | 32 | .contextMenu LI.hover A { 33 | color: #FFF; 34 | background-color: #3399FF; 35 | } 36 | 37 | .contextMenu LI.disabled A { 38 | color: #AAA; 39 | cursor: default; 40 | } 41 | 42 | .contextMenu LI.hover.disabled A { 43 | background-color: transparent; 44 | } 45 | 46 | .contextMenu LI.separator { 47 | border-top: solid 1px #CCC; 48 | } 49 | 50 | /* 51 | Adding Icons 52 | 53 | You can add icons to the context menu by adding 54 | classes to the respective LI element(s) 55 | */ 56 | 57 | .contextMenu LI.edit A { background-image: url(images/page_white_edit.png); } 58 | .contextMenu LI.cut A { background-image: url(images/cut.png); } 59 | .contextMenu LI.copy A { background-image: url(images/page_white_copy.png); } 60 | .contextMenu LI.paste A { background-image: url(images/page_white_paste.png); } 61 | .contextMenu LI.delete A { background-image: url(images/page_white_delete.png); } 62 | .contextMenu LI.quit A { background-image: url(images/door.png); } 63 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/addon/fold/markdown-fold.js: -------------------------------------------------------------------------------- 1 | (function(mod) { 2 | if (typeof exports == "object" && typeof module == "object") // CommonJS 3 | mod(require("../../lib/codemirror")); 4 | else if (typeof define == "function" && define.amd) // AMD 5 | define(["../../lib/codemirror"], mod); 6 | else // Plain browser env 7 | mod(CodeMirror); 8 | })(function(CodeMirror) { 9 | "use strict"; 10 | 11 | CodeMirror.registerHelper("fold", "markdown", function(cm, start) { 12 | var maxDepth = 100; 13 | 14 | function isHeader(lineNo) { 15 | var tokentype = cm.getTokenTypeAt(CodeMirror.Pos(lineNo, 0)); 16 | return tokentype && /\bheader\b/.test(tokentype); 17 | } 18 | 19 | function headerLevel(lineNo, line, nextLine) { 20 | var match = line && line.match(/^#+/); 21 | if (match && isHeader(lineNo)) return match[0].length; 22 | match = nextLine && nextLine.match(/^[=\-]+\s*$/); 23 | if (match && isHeader(lineNo + 1)) return nextLine[0] == "=" ? 1 : 2; 24 | return maxDepth; 25 | } 26 | 27 | var firstLine = cm.getLine(start.line), nextLine = cm.getLine(start.line + 1); 28 | var level = headerLevel(start.line, firstLine, nextLine); 29 | if (level === maxDepth) return undefined; 30 | 31 | var lastLineNo = cm.lastLine(); 32 | var end = start.line, nextNextLine = cm.getLine(end + 2); 33 | while (end < lastLineNo) { 34 | if (headerLevel(end + 1, nextLine, nextNextLine) <= level) break; 35 | ++end; 36 | nextLine = nextNextLine; 37 | nextNextLine = cm.getLine(end + 2); 38 | } 39 | 40 | return { 41 | from: CodeMirror.Pos(start.line, firstLine.length), 42 | to: CodeMirror.Pos(end, cm.getLine(end).length) 43 | }; 44 | }); 45 | 46 | }); 47 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/demo/placeholder.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Placeholder demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 28 | 29 |
30 |

Placeholder demo

31 |
32 | 33 |

The placeholder 34 | plug-in adds an option placeholder that can be set to 35 | make text appear in the editor when it is empty and not focused. 36 | If the source textarea has a placeholder attribute, 37 | it will automatically be inherited.

38 | 39 | 44 | 45 |
46 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/demo/marker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Breakpoint Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 27 | 28 |
29 |

Breakpoint Demo

30 |
47 | 48 |

Click the line-number gutter to add or remove 'breakpoints'.

49 | 50 | 51 | 52 |
53 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/pascal/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pascal mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Pascal mode

27 | 28 | 29 |
52 | 53 | 59 | 60 |

MIME types defined: text/x-pascal.

61 |
62 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ckeditor/plugins/forms/dialogs/hiddenfield.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.md or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("hiddenfield",function(d){return{title:d.lang.forms.hidden.title,hiddenField:null,minWidth:350,minHeight:110,onShow:function(){delete this.hiddenField;var a=this.getParentEditor(),b=a.getSelection(),c=b.getSelectedElement();c&&c.data("cke-real-element-type")&&"hiddenfield"==c.data("cke-real-element-type")&&(this.hiddenField=c,c=a.restoreRealElement(this.hiddenField),this.setupContent(c),b.selectElement(this.hiddenField))},onOk:function(){var a=this.getValueOf("info","_cke_saved_name"), 6 | b=this.getParentEditor(),a=CKEDITOR.env.ie&&8>CKEDITOR.document.$.documentMode?b.document.createElement('\x3cinput name\x3d"'+CKEDITOR.tools.htmlEncode(a)+'"\x3e'):b.document.createElement("input");a.setAttribute("type","hidden");this.commitContent(a);a=b.createFakeElement(a,"cke_hidden","hiddenfield");this.hiddenField?(a.replace(this.hiddenField),b.getSelection().selectElement(a)):b.insertElement(a);return!0},contents:[{id:"info",label:d.lang.forms.hidden.title,title:d.lang.forms.hidden.title,elements:[{id:"_cke_saved_name", 7 | type:"text",label:d.lang.forms.hidden.name,"default":"",accessKey:"N",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:function(a){this.getValue()?a.setAttribute("name",this.getValue()):a.removeAttribute("name")}},{id:"value",type:"text",label:d.lang.forms.hidden.value,"default":"",accessKey:"V",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:function(a){this.getValue()?a.setAttribute("value",this.getValue()):a.removeAttribute("value")}}]}]}}); -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/mode/pig/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Pig Latin mode 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 24 | 25 |
26 |

Pig Latin mode

27 |
39 | 40 | 47 | 48 |

49 | Simple mode that handles Pig Latin language. 50 |

51 | 52 |

MIME type defined: text/x-pig 53 | (PIG code) 54 | 55 |

56 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/base16-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Name: Base16 Default Dark 4 | Author: Chris Kempson (http://chriskempson.com) 5 | 6 | CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools) 7 | Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) 8 | 9 | */ 10 | 11 | .cm-s-base16-dark.CodeMirror {background: #151515; color: #e0e0e0;} 12 | .cm-s-base16-dark div.CodeMirror-selected {background: #202020 !important;} 13 | .cm-s-base16-dark .CodeMirror-gutters {background: #151515; border-right: 0px;} 14 | .cm-s-base16-dark .CodeMirror-linenumber {color: #505050;} 15 | .cm-s-base16-dark .CodeMirror-cursor {border-left: 1px solid #b0b0b0 !important;} 16 | 17 | .cm-s-base16-dark span.cm-comment {color: #8f5536;} 18 | .cm-s-base16-dark span.cm-atom {color: #aa759f;} 19 | .cm-s-base16-dark span.cm-number {color: #aa759f;} 20 | 21 | .cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute {color: #90a959;} 22 | .cm-s-base16-dark span.cm-keyword {color: #ac4142;} 23 | .cm-s-base16-dark span.cm-string {color: #f4bf75;} 24 | 25 | .cm-s-base16-dark span.cm-variable {color: #90a959;} 26 | .cm-s-base16-dark span.cm-variable-2 {color: #6a9fb5;} 27 | .cm-s-base16-dark span.cm-def {color: #d28445;} 28 | .cm-s-base16-dark span.cm-bracket {color: #e0e0e0;} 29 | .cm-s-base16-dark span.cm-tag {color: #ac4142;} 30 | .cm-s-base16-dark span.cm-link {color: #aa759f;} 31 | .cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;} 32 | 33 | .cm-s-base16-dark .CodeMirror-activeline-background {background: #2F2F2F !important;} 34 | .cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;} 35 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/demo/resize.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | CodeMirror: Autoresize Demo 4 | 5 | 6 | 7 | 8 | 9 | 10 | 20 | 32 | 33 |
34 |

Autoresize Demo

35 |
45 | 46 |

By setting a few CSS properties, and giving 47 | the viewportMargin 48 | a value of Infinity, CodeMirror can be made to 49 | automatically resize to fit its content.

50 | 51 | 57 | 58 |
59 | -------------------------------------------------------------------------------- /src/main/resources/public/js/ofm/scripts/CodeMirror/theme/vibrant-ink.css: -------------------------------------------------------------------------------- 1 | /* Taken from the popular Visual Studio Vibrant Ink Schema */ 2 | 3 | .cm-s-vibrant-ink.CodeMirror { background: black; color: white; } 4 | .cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; } 5 | 6 | .cm-s-vibrant-ink .CodeMirror-gutters { background: #002240; border-right: 1px solid #aaa; } 7 | .cm-s-vibrant-ink .CodeMirror-linenumber { color: #d0d0d0; } 8 | .cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; } 9 | 10 | .cm-s-vibrant-ink .cm-keyword { color: #CC7832; } 11 | .cm-s-vibrant-ink .cm-atom { color: #FC0; } 12 | .cm-s-vibrant-ink .cm-number { color: #FFEE98; } 13 | .cm-s-vibrant-ink .cm-def { color: #8DA6CE; } 14 | .cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D } 15 | .cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D } 16 | .cm-s-vibrant-ink .cm-operator { color: #888; } 17 | .cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; } 18 | .cm-s-vibrant-ink .cm-string { color: #A5C25C } 19 | .cm-s-vibrant-ink .cm-string-2 { color: red } 20 | .cm-s-vibrant-ink .cm-meta { color: #D8FA3C; } 21 | .cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; } 22 | .cm-s-vibrant-ink .cm-tag { color: #8DA6CE; } 23 | .cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; } 24 | .cm-s-vibrant-ink .cm-header { color: #FF6400; } 25 | .cm-s-vibrant-ink .cm-hr { color: #AEAEAE; } 26 | .cm-s-vibrant-ink .cm-link { color: blue; } 27 | .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; } 28 | 29 | .cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;} 30 | .cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;} 31 | -------------------------------------------------------------------------------- /src/docs/tags/fileBrowser.adoc: -------------------------------------------------------------------------------- 1 | [[fileBrowser-tag]] 2 | === fileBrowser 3 | 4 | Renders a link to open a stand alone file browser not associated with an editor instance 5 | 6 | [source, html] 7 | ---- 8 | Open file browser 9 | ---- 10 | 11 | available attributes are: 12 | 13 | [cols="30, 70"] 14 | |=== 15 | | Attribute | Description 16 | | *type* | Type of resource (default: "") 17 | | *userSpace* | Name of the file user space to use for file browsing and uploads (default: "") 18 | | *fileBrowser* | File manager to use. Possible values: ofm, standard (default: "standard") 19 | | *viewMode* | View mode for Open File Manager. Possible values: grid, list (default: "grid") 20 | | *showThumbs* | Show images' thumbnails in Open File Manager. Possible values: true, false (default: false) 21 | | *target* | Target attribute for the generated tag (default: "") 22 | |=== 23 | 24 | if you just need the link to the file browser there is a *fileBrowserLink* tag: 25 | 26 | [source, html] 27 | ---- 28 | Open file browser 29 | ---- 30 | 31 | If you want get back the path of the selected item in the file browser simply define a javascript function called *ckeditorFileBrowserItemSelected* 32 | in the page containing the opening link. 33 | 34 | [source, html] 35 | ---- 36 | 42 | ---- 43 | 44 | Keep in mind that the stand alone file browser is designed to be opened in a separate browser window. 45 | 46 | This option is only valid when using Open File Manager. 47 | --------------------------------------------------------------------------------