bedrock_sass 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/assets/_vendor/ace/ace.js +21635 -0
- data/assets/_vendor/ace/ext-beautify.js +318 -0
- data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +277 -0
- data/assets/_vendor/ace/ext-emmet.js +1226 -0
- data/assets/_vendor/ace/ext-error_marker.js +10 -0
- data/assets/_vendor/ace/ext-keybinding_menu.js +189 -0
- data/assets/_vendor/ace/ext-language_tools.js +1997 -0
- data/assets/_vendor/ace/ext-linking.js +65 -0
- data/assets/_vendor/ace/ext-modelist.js +228 -0
- data/assets/_vendor/ace/ext-options.js +750 -0
- data/assets/_vendor/ace/ext-rtl.js +110 -0
- data/assets/_vendor/ace/ext-searchbox.js +512 -0
- data/assets/_vendor/ace/ext-settings_menu.js +771 -0
- data/assets/_vendor/ace/ext-spellcheck.js +75 -0
- data/assets/_vendor/ace/ext-split.js +208 -0
- data/assets/_vendor/ace/ext-static_highlight.js +226 -0
- data/assets/_vendor/ace/ext-statusbar.js +57 -0
- data/assets/_vendor/ace/ext-textarea.js +567 -0
- data/assets/_vendor/ace/ext-themelist.js +67 -0
- data/assets/_vendor/ace/ext-whitespace.js +210 -0
- data/assets/_vendor/ace/keybinding-emacs.js +1165 -0
- data/assets/_vendor/ace/keybinding-vim.js +5673 -0
- data/assets/_vendor/ace/mode-abap.js +222 -0
- data/assets/_vendor/ace/mode-abc.js +267 -0
- data/assets/_vendor/ace/mode-actionscript.js +274 -0
- data/assets/_vendor/ace/mode-ada.js +138 -0
- data/assets/_vendor/ace/mode-apache_conf.js +363 -0
- data/assets/_vendor/ace/mode-applescript.js +279 -0
- data/assets/_vendor/ace/mode-asciidoc.js +349 -0
- data/assets/_vendor/ace/mode-asl.js +422 -0
- data/assets/_vendor/ace/mode-assembly_x86.js +193 -0
- data/assets/_vendor/ace/mode-autohotkey.js +243 -0
- data/assets/_vendor/ace/mode-batchfile.js +230 -0
- data/assets/_vendor/ace/mode-bro.js +334 -0
- data/assets/_vendor/ace/mode-c9search.js +294 -0
- data/assets/_vendor/ace/mode-c_cpp.js +502 -0
- data/assets/_vendor/ace/mode-cirru.js +211 -0
- data/assets/_vendor/ace/mode-clojure.js +314 -0
- data/assets/_vendor/ace/mode-cobol.js +102 -0
- data/assets/_vendor/ace/mode-coffee.js +400 -0
- data/assets/_vendor/ace/mode-coldfusion.js +2596 -0
- data/assets/_vendor/ace/mode-csharp.js +502 -0
- data/assets/_vendor/ace/mode-csound_document.js +3749 -0
- data/assets/_vendor/ace/mode-csound_orchestra.js +2687 -0
- data/assets/_vendor/ace/mode-csound_score.js +454 -0
- data/assets/_vendor/ace/mode-csp.js +60 -0
- data/assets/_vendor/ace/mode-css.js +723 -0
- data/assets/_vendor/ace/mode-curly.js +2564 -0
- data/assets/_vendor/ace/mode-d.js +520 -0
- data/assets/_vendor/ace/mode-dart.js +703 -0
- data/assets/_vendor/ace/mode-diff.js +146 -0
- data/assets/_vendor/ace/mode-django.js +2594 -0
- data/assets/_vendor/ace/mode-dockerfile.js +498 -0
- data/assets/_vendor/ace/mode-dot.js +418 -0
- data/assets/_vendor/ace/mode-drools.js +496 -0
- data/assets/_vendor/ace/mode-edifact.js +165 -0
- data/assets/_vendor/ace/mode-eiffel.js +136 -0
- data/assets/_vendor/ace/mode-ejs.js +3026 -0
- data/assets/_vendor/ace/mode-elixir.js +501 -0
- data/assets/_vendor/ace/mode-elm.js +307 -0
- data/assets/_vendor/ace/mode-erlang.js +1009 -0
- data/assets/_vendor/ace/mode-forth.js +297 -0
- data/assets/_vendor/ace/mode-fortran.js +431 -0
- data/assets/_vendor/ace/mode-fsharp.js +314 -0
- data/assets/_vendor/ace/mode-ftl.js +1192 -0
- data/assets/_vendor/ace/mode-gcode.js +94 -0
- data/assets/_vendor/ace/mode-gherkin.js +172 -0
- data/assets/_vendor/ace/mode-gitignore.js +60 -0
- data/assets/_vendor/ace/mode-glsl.js +579 -0
- data/assets/_vendor/ace/mode-gobstones.js +929 -0
- data/assets/_vendor/ace/mode-golang.js +414 -0
- data/assets/_vendor/ace/mode-graphqlschema.js +214 -0
- data/assets/_vendor/ace/mode-groovy.js +986 -0
- data/assets/_vendor/ace/mode-haml.js +1555 -0
- data/assets/_vendor/ace/mode-handlebars.js +2622 -0
- data/assets/_vendor/ace/mode-haskell.js +379 -0
- data/assets/_vendor/ace/mode-haskell_cabal.js +142 -0
- data/assets/_vendor/ace/mode-haxe.js +386 -0
- data/assets/_vendor/ace/mode-hjson.js +353 -0
- data/assets/_vendor/ace/mode-html.js +2509 -0
- data/assets/_vendor/ace/mode-html_elixir.js +3087 -0
- data/assets/_vendor/ace/mode-html_ruby.js +3043 -0
- data/assets/_vendor/ace/mode-ini.js +163 -0
- data/assets/_vendor/ace/mode-io.js +253 -0
- data/assets/_vendor/ace/mode-jack.js +347 -0
- data/assets/_vendor/ace/mode-jade.js +2126 -0
- data/assets/_vendor/ace/mode-java.js +975 -0
- data/assets/_vendor/ace/mode-javascript.js +797 -0
- data/assets/_vendor/ace/mode-json.js +327 -0
- data/assets/_vendor/ace/mode-jsoniq.js +4940 -0
- data/assets/_vendor/ace/mode-jsp.js +1430 -0
- data/assets/_vendor/ace/mode-jssm.js +325 -0
- data/assets/_vendor/ace/mode-jsx.js +412 -0
- data/assets/_vendor/ace/mode-julia.js +303 -0
- data/assets/_vendor/ace/mode-kotlin.js +795 -0
- data/assets/_vendor/ace/mode-latex.js +297 -0
- data/assets/_vendor/ace/mode-less.js +841 -0
- data/assets/_vendor/ace/mode-liquid.js +1193 -0
- data/assets/_vendor/ace/mode-lisp.js +112 -0
- data/assets/_vendor/ace/mode-livescript.js +280 -0
- data/assets/_vendor/ace/mode-logiql.js +317 -0
- data/assets/_vendor/ace/mode-lsl.js +343 -0
- data/assets/_vendor/ace/mode-lua.js +432 -0
- data/assets/_vendor/ace/mode-luapage.js +3007 -0
- data/assets/_vendor/ace/mode-lucene.js +87 -0
- data/assets/_vendor/ace/mode-makefile.js +410 -0
- data/assets/_vendor/ace/mode-markdown.js +3189 -0
- data/assets/_vendor/ace/mode-mask.js +1802 -0
- data/assets/_vendor/ace/mode-matlab.js +264 -0
- data/assets/_vendor/ace/mode-maze.js +291 -0
- data/assets/_vendor/ace/mode-mel.js +263 -0
- data/assets/_vendor/ace/mode-mixal.js +123 -0
- data/assets/_vendor/ace/mode-mushcode.js +681 -0
- data/assets/_vendor/ace/mode-mysql.js +168 -0
- data/assets/_vendor/ace/mode-nix.js +646 -0
- data/assets/_vendor/ace/mode-nsis.js +312 -0
- data/assets/_vendor/ace/mode-objectivec.js +739 -0
- data/assets/_vendor/ace/mode-ocaml.js +422 -0
- data/assets/_vendor/ace/mode-pascal.js +205 -0
- data/assets/_vendor/ace/mode-perl.js +380 -0
- data/assets/_vendor/ace/mode-pgsql.js +1508 -0
- data/assets/_vendor/ace/mode-php.js +13088 -0
- data/assets/_vendor/ace/mode-php_laravel_blade.js +13289 -0
- data/assets/_vendor/ace/mode-pig.js +310 -0
- data/assets/_vendor/ace/mode-plain_text.js +33 -0
- data/assets/_vendor/ace/mode-powershell.js +418 -0
- data/assets/_vendor/ace/mode-praat.js +478 -0
- data/assets/_vendor/ace/mode-prolog.js +371 -0
- data/assets/_vendor/ace/mode-properties.js +81 -0
- data/assets/_vendor/ace/mode-protobuf.js +592 -0
- data/assets/_vendor/ace/mode-puppet.js +370 -0
- data/assets/_vendor/ace/mode-python.js +273 -0
- data/assets/_vendor/ace/mode-r.js +310 -0
- data/assets/_vendor/ace/mode-razor.js +2869 -0
- data/assets/_vendor/ace/mode-rdoc.js +243 -0
- data/assets/_vendor/ace/mode-red.js +450 -0
- data/assets/_vendor/ace/mode-redshift.js +361 -0
- data/assets/_vendor/ace/mode-rhtml.js +2806 -0
- data/assets/_vendor/ace/mode-rst.js +257 -0
- data/assets/_vendor/ace/mode-ruby.js +497 -0
- data/assets/_vendor/ace/mode-rust.js +279 -0
- data/assets/_vendor/ace/mode-sass.js +441 -0
- data/assets/_vendor/ace/mode-scad.js +414 -0
- data/assets/_vendor/ace/mode-scala.js +982 -0
- data/assets/_vendor/ace/mode-scheme.js +232 -0
- data/assets/_vendor/ace/mode-scss.js +606 -0
- data/assets/_vendor/ace/mode-sh.js +447 -0
- data/assets/_vendor/ace/mode-sjs.js +1014 -0
- data/assets/_vendor/ace/mode-slim.js +4736 -0
- data/assets/_vendor/ace/mode-smarty.js +2635 -0
- data/assets/_vendor/ace/mode-snippets.js +207 -0
- data/assets/_vendor/ace/mode-soy_template.js +2847 -0
- data/assets/_vendor/ace/mode-space.js +168 -0
- data/assets/_vendor/ace/mode-sparql.js +320 -0
- data/assets/_vendor/ace/mode-sql.js +111 -0
- data/assets/_vendor/ace/mode-sqlserver.js +444 -0
- data/assets/_vendor/ace/mode-stylus.js +471 -0
- data/assets/_vendor/ace/mode-svg.js +1581 -0
- data/assets/_vendor/ace/mode-swift.js +390 -0
- data/assets/_vendor/ace/mode-tcl.js +383 -0
- data/assets/_vendor/ace/mode-terraform.js +398 -0
- data/assets/_vendor/ace/mode-tex.js +159 -0
- data/assets/_vendor/ace/mode-text.js +10 -0
- data/assets/_vendor/ace/mode-textile.js +150 -0
- data/assets/_vendor/ace/mode-toml.js +154 -0
- data/assets/_vendor/ace/mode-tsx.js +887 -0
- data/assets/_vendor/ace/mode-turtle.js +296 -0
- data/assets/_vendor/ace/mode-twig.js +2693 -0
- data/assets/_vendor/ace/mode-typescript.js +868 -0
- data/assets/_vendor/ace/mode-vala.js +676 -0
- data/assets/_vendor/ace/mode-vbscript.js +207 -0
- data/assets/_vendor/ace/mode-velocity.js +2790 -0
- data/assets/_vendor/ace/mode-verilog.js +119 -0
- data/assets/_vendor/ace/mode-vhdl.js +118 -0
- data/assets/_vendor/ace/mode-wollok.js +911 -0
- data/assets/_vendor/ace/mode-xml.js +677 -0
- data/assets/_vendor/ace/mode-xquery.js +4922 -0
- data/assets/_vendor/ace/mode-yaml.js +300 -0
- data/assets/_vendor/ace/snippets/abap.js +15 -0
- data/assets/_vendor/ace/snippets/abc.js +46 -0
- data/assets/_vendor/ace/snippets/actionscript.js +172 -0
- data/assets/_vendor/ace/snippets/ada.js +15 -0
- data/assets/_vendor/ace/snippets/apache_conf.js +15 -0
- data/assets/_vendor/ace/snippets/applescript.js +15 -0
- data/assets/_vendor/ace/snippets/asciidoc.js +15 -0
- data/assets/_vendor/ace/snippets/asl.js +14 -0
- data/assets/_vendor/ace/snippets/assembly_x86.js +15 -0
- data/assets/_vendor/ace/snippets/autohotkey.js +15 -0
- data/assets/_vendor/ace/snippets/batchfile.js +15 -0
- data/assets/_vendor/ace/snippets/bro.js +15 -0
- data/assets/_vendor/ace/snippets/c9search.js +15 -0
- data/assets/_vendor/ace/snippets/c_cpp.js +146 -0
- data/assets/_vendor/ace/snippets/cirru.js +15 -0
- data/assets/_vendor/ace/snippets/clojure.js +105 -0
- data/assets/_vendor/ace/snippets/cobol.js +15 -0
- data/assets/_vendor/ace/snippets/coffee.js +110 -0
- data/assets/_vendor/ace/snippets/coldfusion.js +15 -0
- data/assets/_vendor/ace/snippets/csharp.js +15 -0
- data/assets/_vendor/ace/snippets/csound_document.js +25 -0
- data/assets/_vendor/ace/snippets/csound_orchestra.js +62 -0
- data/assets/_vendor/ace/snippets/csound_score.js +15 -0
- data/assets/_vendor/ace/snippets/csp.js +15 -0
- data/assets/_vendor/ace/snippets/css.js +982 -0
- data/assets/_vendor/ace/snippets/curly.js +15 -0
- data/assets/_vendor/ace/snippets/d.js +15 -0
- data/assets/_vendor/ace/snippets/dart.js +98 -0
- data/assets/_vendor/ace/snippets/diff.js +26 -0
- data/assets/_vendor/ace/snippets/django.js +123 -0
- data/assets/_vendor/ace/snippets/dockerfile.js +15 -0
- data/assets/_vendor/ace/snippets/dot.js +15 -0
- data/assets/_vendor/ace/snippets/drools.js +34 -0
- data/assets/_vendor/ace/snippets/edifact.js +255 -0
- data/assets/_vendor/ace/snippets/eiffel.js +15 -0
- data/assets/_vendor/ace/snippets/ejs.js +15 -0
- data/assets/_vendor/ace/snippets/elixir.js +15 -0
- data/assets/_vendor/ace/snippets/elm.js +15 -0
- data/assets/_vendor/ace/snippets/erlang.js +175 -0
- data/assets/_vendor/ace/snippets/forth.js +15 -0
- data/assets/_vendor/ace/snippets/fortran.js +15 -0
- data/assets/_vendor/ace/snippets/fsharp.js +15 -0
- data/assets/_vendor/ace/snippets/ftl.js +15 -0
- data/assets/_vendor/ace/snippets/gcode.js +15 -0
- data/assets/_vendor/ace/snippets/gherkin.js +15 -0
- data/assets/_vendor/ace/snippets/gitignore.js +15 -0
- data/assets/_vendor/ace/snippets/glsl.js +15 -0
- data/assets/_vendor/ace/snippets/gobstones.js +49 -0
- data/assets/_vendor/ace/snippets/golang.js +15 -0
- data/assets/_vendor/ace/snippets/graphqlschema.js +47 -0
- data/assets/_vendor/ace/snippets/groovy.js +15 -0
- data/assets/_vendor/ace/snippets/haml.js +35 -0
- data/assets/_vendor/ace/snippets/handlebars.js +15 -0
- data/assets/_vendor/ace/snippets/haskell.js +97 -0
- data/assets/_vendor/ace/snippets/haskell_cabal.js +15 -0
- data/assets/_vendor/ace/snippets/haxe.js +15 -0
- data/assets/_vendor/ace/snippets/hjson.js +15 -0
- data/assets/_vendor/ace/snippets/html.js +870 -0
- data/assets/_vendor/ace/snippets/html_elixir.js +15 -0
- data/assets/_vendor/ace/snippets/html_ruby.js +15 -0
- data/assets/_vendor/ace/snippets/ini.js +15 -0
- data/assets/_vendor/ace/snippets/io.js +77 -0
- data/assets/_vendor/ace/snippets/jack.js +15 -0
- data/assets/_vendor/ace/snippets/jade.js +15 -0
- data/assets/_vendor/ace/snippets/java.js +255 -0
- data/assets/_vendor/ace/snippets/javascript.js +210 -0
- data/assets/_vendor/ace/snippets/json.js +15 -0
- data/assets/_vendor/ace/snippets/jsoniq.js +76 -0
- data/assets/_vendor/ace/snippets/jsp.js +114 -0
- data/assets/_vendor/ace/snippets/jssm.js +15 -0
- data/assets/_vendor/ace/snippets/jsx.js +15 -0
- data/assets/_vendor/ace/snippets/julia.js +15 -0
- data/assets/_vendor/ace/snippets/kotlin.js +15 -0
- data/assets/_vendor/ace/snippets/latex.js +15 -0
- data/assets/_vendor/ace/snippets/less.js +15 -0
- data/assets/_vendor/ace/snippets/liquid.js +15 -0
- data/assets/_vendor/ace/snippets/lisp.js +15 -0
- data/assets/_vendor/ace/snippets/livescript.js +15 -0
- data/assets/_vendor/ace/snippets/logiql.js +15 -0
- data/assets/_vendor/ace/snippets/lsl.js +1247 -0
- data/assets/_vendor/ace/snippets/lua.js +36 -0
- data/assets/_vendor/ace/snippets/luapage.js +15 -0
- data/assets/_vendor/ace/snippets/lucene.js +15 -0
- data/assets/_vendor/ace/snippets/makefile.js +19 -0
- data/assets/_vendor/ace/snippets/markdown.js +103 -0
- data/assets/_vendor/ace/snippets/mask.js +15 -0
- data/assets/_vendor/ace/snippets/matlab.js +15 -0
- data/assets/_vendor/ace/snippets/maze.js +24 -0
- data/assets/_vendor/ace/snippets/mel.js +15 -0
- data/assets/_vendor/ace/snippets/mixal.js +15 -0
- data/assets/_vendor/ace/snippets/mushcode.js +15 -0
- data/assets/_vendor/ace/snippets/mysql.js +15 -0
- data/assets/_vendor/ace/snippets/nix.js +15 -0
- data/assets/_vendor/ace/snippets/nsis.js +15 -0
- data/assets/_vendor/ace/snippets/objectivec.js +15 -0
- data/assets/_vendor/ace/snippets/ocaml.js +15 -0
- data/assets/_vendor/ace/snippets/pascal.js +15 -0
- data/assets/_vendor/ace/snippets/perl.js +362 -0
- data/assets/_vendor/ace/snippets/pgsql.js +15 -0
- data/assets/_vendor/ace/snippets/php.js +398 -0
- data/assets/_vendor/ace/snippets/php_laravel_blade.js +15 -0
- data/assets/_vendor/ace/snippets/pig.js +15 -0
- data/assets/_vendor/ace/snippets/plain_text.js +15 -0
- data/assets/_vendor/ace/snippets/powershell.js +15 -0
- data/assets/_vendor/ace/snippets/praat.js +15 -0
- data/assets/_vendor/ace/snippets/prolog.js +15 -0
- data/assets/_vendor/ace/snippets/properties.js +15 -0
- data/assets/_vendor/ace/snippets/protobuf.js +15 -0
- data/assets/_vendor/ace/snippets/puppet.js +15 -0
- data/assets/_vendor/ace/snippets/python.js +173 -0
- data/assets/_vendor/ace/snippets/r.js +136 -0
- data/assets/_vendor/ace/snippets/razor.js +18 -0
- data/assets/_vendor/ace/snippets/rdoc.js +15 -0
- data/assets/_vendor/ace/snippets/red.js +15 -0
- data/assets/_vendor/ace/snippets/redshift.js +15 -0
- data/assets/_vendor/ace/snippets/rhtml.js +15 -0
- data/assets/_vendor/ace/snippets/rst.js +37 -0
- data/assets/_vendor/ace/snippets/ruby.js +943 -0
- data/assets/_vendor/ace/snippets/rust.js +15 -0
- data/assets/_vendor/ace/snippets/sass.js +15 -0
- data/assets/_vendor/ace/snippets/scad.js +15 -0
- data/assets/_vendor/ace/snippets/scala.js +15 -0
- data/assets/_vendor/ace/snippets/scheme.js +15 -0
- data/assets/_vendor/ace/snippets/scss.js +15 -0
- data/assets/_vendor/ace/snippets/sh.js +98 -0
- data/assets/_vendor/ace/snippets/sjs.js +15 -0
- data/assets/_vendor/ace/snippets/slim.js +15 -0
- data/assets/_vendor/ace/snippets/smarty.js +15 -0
- data/assets/_vendor/ace/snippets/snippets.js +24 -0
- data/assets/_vendor/ace/snippets/soy_template.js +15 -0
- data/assets/_vendor/ace/snippets/space.js +15 -0
- data/assets/_vendor/ace/snippets/sparql.js +15 -0
- data/assets/_vendor/ace/snippets/sql.js +41 -0
- data/assets/_vendor/ace/snippets/sqlserver.js +84 -0
- data/assets/_vendor/ace/snippets/stylus.js +15 -0
- data/assets/_vendor/ace/snippets/svg.js +15 -0
- data/assets/_vendor/ace/snippets/swift.js +15 -0
- data/assets/_vendor/ace/snippets/tcl.js +107 -0
- data/assets/_vendor/ace/snippets/terraform.js +15 -0
- data/assets/_vendor/ace/snippets/tex.js +205 -0
- data/assets/_vendor/ace/snippets/text.js +15 -0
- data/assets/_vendor/ace/snippets/textile.js +45 -0
- data/assets/_vendor/ace/snippets/toml.js +15 -0
- data/assets/_vendor/ace/snippets/tsx.js +15 -0
- data/assets/_vendor/ace/snippets/turtle.js +15 -0
- data/assets/_vendor/ace/snippets/twig.js +15 -0
- data/assets/_vendor/ace/snippets/typescript.js +15 -0
- data/assets/_vendor/ace/snippets/vala.js +201 -0
- data/assets/_vendor/ace/snippets/vbscript.js +15 -0
- data/assets/_vendor/ace/snippets/velocity.js +44 -0
- data/assets/_vendor/ace/snippets/verilog.js +15 -0
- data/assets/_vendor/ace/snippets/vhdl.js +15 -0
- data/assets/_vendor/ace/snippets/wollok.js +99 -0
- data/assets/_vendor/ace/snippets/xml.js +15 -0
- data/assets/_vendor/ace/snippets/xquery.js +76 -0
- data/assets/_vendor/ace/snippets/yaml.js +15 -0
- data/assets/_vendor/ace/theme-ambiance.js +185 -0
- data/assets/_vendor/ace/theme-chaos.js +164 -0
- data/assets/_vendor/ace/theme-chrome.js +136 -0
- data/assets/_vendor/ace/theme-clouds.js +103 -0
- data/assets/_vendor/ace/theme-clouds_midnight.js +104 -0
- data/assets/_vendor/ace/theme-cobalt.js +121 -0
- data/assets/_vendor/ace/theme-crimson_editor.js +126 -0
- data/assets/_vendor/ace/theme-dawn.js +116 -0
- data/assets/_vendor/ace/theme-dracula.js +136 -0
- data/assets/_vendor/ace/theme-dreamweaver.js +149 -0
- data/assets/_vendor/ace/theme-eclipse.js +106 -0
- data/assets/_vendor/ace/theme-github.js +110 -0
- data/assets/_vendor/ace/theme-gob.js +120 -0
- data/assets/_vendor/ace/theme-gruvbox.js +90 -0
- data/assets/_vendor/ace/theme-idle_fingers.js +104 -0
- data/assets/_vendor/ace/theme-iplastic.js +129 -0
- data/assets/_vendor/ace/theme-katzenmilch.js +129 -0
- data/assets/_vendor/ace/theme-kr_theme.js +112 -0
- data/assets/_vendor/ace/theme-kuroir.js +69 -0
- data/assets/_vendor/ace/theme-merbivore.js +103 -0
- data/assets/_vendor/ace/theme-merbivore_soft.js +104 -0
- data/assets/_vendor/ace/theme-mono_industrial.js +115 -0
- data/assets/_vendor/ace/theme-monokai.js +113 -0
- data/assets/_vendor/ace/theme-pastel_on_dark.js +116 -0
- data/assets/_vendor/ace/theme-solarized_dark.js +96 -0
- data/assets/_vendor/ace/theme-solarized_light.js +99 -0
- data/assets/_vendor/ace/theme-sqlserver.js +146 -0
- data/assets/_vendor/ace/theme-terminal.js +122 -0
- data/assets/_vendor/ace/theme-textmate.js +138 -0
- data/assets/_vendor/ace/theme-tomorrow.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night.js +116 -0
- data/assets/_vendor/ace/theme-tomorrow_night_blue.js +114 -0
- data/assets/_vendor/ace/theme-tomorrow_night_bright.js +129 -0
- data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +116 -0
- data/assets/_vendor/ace/theme-twilight.js +117 -0
- data/assets/_vendor/ace/theme-vibrant_ink.js +102 -0
- data/assets/_vendor/ace/theme-xcode.js +96 -0
- data/assets/_vendor/ace/worker-coffee.js +2165 -0
- data/assets/_vendor/ace/worker-css.js +8764 -0
- data/assets/_vendor/ace/worker-html.js +11614 -0
- data/assets/_vendor/ace/worker-javascript.js +12491 -0
- data/assets/_vendor/ace/worker-json.js +2396 -0
- data/assets/_vendor/ace/worker-lua.js +3637 -0
- data/assets/_vendor/ace/worker-php.js +4313 -0
- data/assets/_vendor/ace/worker-xml.js +3899 -0
- data/assets/_vendor/ace/worker-xquery.js +70688 -0
- data/assets/_vendor/motion-ui/_settings.scss +1 -0
- data/assets/_vendor/motion-ui/effects/_fade.scss +1 -4
- data/assets/_vendor/motion-ui/effects/_hinge.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_shake.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_slide.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_spin.scss +4 -3
- data/assets/_vendor/motion-ui/effects/_wiggle.scss +1 -1
- data/assets/_vendor/motion-ui/effects/_zoom.scss +2 -2
- data/assets/_vendor/motion-ui/motion-ui.scss +2 -0
- data/assets/_vendor/motion-ui/transitions/_fade.scss +6 -4
- data/assets/_vendor/motion-ui/transitions/_hinge.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_slide.scss +3 -2
- data/assets/_vendor/motion-ui/transitions/_spin.scss +2 -1
- data/assets/_vendor/motion-ui/transitions/_zoom.scss +6 -4
- data/assets/_vendor/motion-ui/util/_animation.scss +1 -1
- data/assets/_vendor/motion-ui/util/_args.scss +2 -2
- data/assets/_vendor/motion-ui/util/_function.scss +94 -0
- data/assets/_vendor/motion-ui/util/_keyframe.scss +5 -5
- data/assets/_vendor/motion-ui/util/_series.scss +20 -17
- data/assets/_vendor/motion-ui/util/_string.scss +36 -0
- data/assets/_vendor/tinymce/plugins/advlist/plugin.js +136 -404
- data/assets/_vendor/tinymce/plugins/advlist/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/anchor/plugin.js +103 -323
- data/assets/_vendor/tinymce/plugins/anchor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autolink/plugin.js +153 -377
- data/assets/_vendor/tinymce/plugins/autolink/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -427
- data/assets/_vendor/tinymce/plugins/autoresize/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/autosave/plugin.js +197 -579
- data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +88 -251
- data/assets/_vendor/tinymce/plugins/bbcode/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1243 -818
- data/assets/_vendor/tinymce/plugins/charmap/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/code/plugin.js +82 -326
- data/assets/_vendor/tinymce/plugins/code/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/codesample/plugin.js +829 -1444
- data/assets/_vendor/tinymce/plugins/codesample/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +111 -257
- data/assets/_vendor/tinymce/plugins/colorpicker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +141 -469
- data/assets/_vendor/tinymce/plugins/contextmenu/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/directionality/plugin.js +57 -261
- data/assets/_vendor/tinymce/plugins/directionality/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +78 -247
- data/assets/_vendor/tinymce/plugins/emoticons/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +463 -906
- data/assets/_vendor/tinymce/plugins/fullpage/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +149 -427
- data/assets/_vendor/tinymce/plugins/fullscreen/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/help/plugin.js +634 -1434
- data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/hr/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/image/plugin.js +1147 -1508
- data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3319 -4079
- data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -2
- data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -543
- data/assets/_vendor/tinymce/plugins/importcss/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +151 -460
- data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +204 -379
- data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/link/plugin.js +644 -1162
- data/assets/_vendor/tinymce/plugins/link/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/lists/plugin.js +1005 -1875
- data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/media/plugin.js +1066 -1926
- data/assets/_vendor/tinymce/plugins/media/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +70 -298
- data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +96 -294
- data/assets/_vendor/tinymce/plugins/noneditable/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +92 -337
- data/assets/_vendor/tinymce/plugins/pagebreak/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/paste/plugin.js +1363 -2801
- data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/preview/plugin.js +106 -393
- data/assets/_vendor/tinymce/plugins/preview/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/print/plugin.js +29 -185
- data/assets/_vendor/tinymce/plugins/print/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/save/plugin.js +100 -350
- data/assets/_vendor/tinymce/plugins/save/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +491 -865
- data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +630 -1292
- data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +96 -391
- data/assets/_vendor/tinymce/plugins/tabfocus/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/table/plugin.js +9537 -14920
- data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -5
- data/assets/_vendor/tinymce/plugins/template/plugin.js +309 -771
- data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +319 -592
- data/assets/_vendor/tinymce/plugins/textcolor/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +326 -674
- data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/toc/plugin.js +199 -530
- data/assets/_vendor/tinymce/plugins/toc/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +112 -436
- data/assets/_vendor/tinymce/plugins/visualblocks/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +428 -1248
- data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +307 -699
- data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.inline.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/content.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
- data/assets/_vendor/tinymce/skins/lightgray/skin.mobile.min.css +1 -1
- data/assets/_vendor/tinymce/themes/inlite/theme.js +9693 -18245
- data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -5
- data/assets/_vendor/tinymce/themes/mobile/theme.js +12629 -22467
- data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -8
- data/assets/_vendor/tinymce/themes/modern/theme.js +9510 -17780
- data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -5
- data/assets/_vendor/tinymce/tinymce.js +25087 -42606
- data/assets/_vendor/yoastseo/css/_icons.scss +7 -7
- data/assets/_vendor/yoastseo/css/_snippet-editor.scss +1 -1
- data/assets/bedrock/js/bedrock.js +1 -71697
- data/assets/bedrock/scss/_bedrock-components.scss +20 -0
- data/assets/bedrock/scss/_bedrock-settings.scss +12 -4
- data/assets/bedrock/scss/_foundation-settings.scss +4 -2
- data/assets/bedrock/scss/components/ace-editor.scss +21 -0
- data/assets/bedrock/scss/components/attachments-grid.scss +18 -15
- data/assets/bedrock/scss/components/date-picker.scss +146 -0
- data/assets/bedrock/scss/components/dropzone-upload.scss +7 -0
- data/assets/bedrock/scss/components/file-input.scss +7 -0
- data/assets/bedrock/scss/components/file-preview.scss +36 -0
- data/assets/bedrock/scss/components/frame-embed.scss +23 -0
- data/assets/bedrock/scss/components/global.scss +27 -0
- data/assets/bedrock/scss/components/helper-classes.scss +1 -0
- data/assets/bedrock/scss/components/icon-box.scss +38 -0
- data/assets/bedrock/scss/components/item-list.scss +66 -0
- data/assets/bedrock/scss/components/lists.scss +58 -0
- data/assets/bedrock/scss/components/off-canvas-menu.scss +27 -15
- data/assets/bedrock/scss/components/place-autocomplete.scss +90 -0
- data/assets/bedrock/scss/components/rrule-generator.scss +102 -0
- data/assets/bedrock/scss/components/rrule-reveal.scss +14 -0
- data/assets/bedrock/scss/components/select-box.scss +1 -0
- data/assets/bedrock/scss/components/seo-analysis.scss +5 -0
- data/assets/bedrock/scss/components/textarea.scss +14 -2
- data/assets/bedrock/scss/components/tiny-mce-editor.scss +5 -16
- data/lib/bedrock_sass.rb +5 -0
- data/lib/bedrock_sass/version.rb +1 -1
- data/lib/tasks/before_assets_precompile.rake +1 -0
- metadata +395 -4
- data/CODE_OF_CONDUCT.md +0 -74
@@ -1 +1 @@
|
|
1
|
-
!function(){
|
1
|
+
!function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),e=tinymce.util.Tools.resolve("tinymce.util.Tools"),n=[["cool","cry","embarassed","foot-in-mouth"],["frown","innocent","kiss","laughing"],["money-mouth","sealed","smile","surprised"],["tongue-out","undecided","wink","yell"]],i=function(i){var o;return o='<table role="list" class="mce-grid">',e.each(n,function(t){o+="<tr>",e.each(t,function(t){var e=i+"/img/smiley-"+t+".gif";o+='<td><a href="#" data-mce-url="'+e+'" data-mce-alt="'+t+'" tabindex="-1" role="option" aria-label="'+t+'"><img src="'+e+'" style="width: 18px; height: 18px" role="presentation" /></a></td>'}),o+="</tr>"}),o+="</table>"},o=function(a,t){var e=i(t);a.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:e,onclick:function(t){var e,i,o,n=a.dom.getParent(t.target,"a");n&&(e=a,i=n.getAttribute("data-mce-url"),o=n.getAttribute("data-mce-alt"),e.insertContent(e.dom.createHTML("img",{src:i,alt:o})),this.hide())}},tooltip:"Emoticons"})};t.add("emoticons",function(t,e){o(t,e)})}();
|
@@ -1,962 +1,519 @@
|
|
1
1
|
(function () {
|
2
|
+
var fullpage = (function () {
|
3
|
+
'use strict';
|
2
4
|
|
3
|
-
var
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
var register_3795 = function (id) {
|
8
|
-
var module = dem(id);
|
9
|
-
var fragments = id.split('.');
|
10
|
-
var target = Function('return this;')();
|
11
|
-
for (var i = 0; i < fragments.length - 1; ++i) {
|
12
|
-
if (target[fragments[i]] === undefined)
|
13
|
-
target[fragments[i]] = {};
|
14
|
-
target = target[fragments[i]];
|
15
|
-
}
|
16
|
-
target[fragments[fragments.length - 1]] = module;
|
17
|
-
};
|
18
|
-
|
19
|
-
var instantiate = function (id) {
|
20
|
-
var actual = defs[id];
|
21
|
-
var dependencies = actual.deps;
|
22
|
-
var definition = actual.defn;
|
23
|
-
var len = dependencies.length;
|
24
|
-
var instances = new Array(len);
|
25
|
-
for (var i = 0; i < len; ++i)
|
26
|
-
instances[i] = dem(dependencies[i]);
|
27
|
-
var defResult = definition.apply(null, instances);
|
28
|
-
if (defResult === undefined)
|
29
|
-
throw 'module [' + id + '] returned undefined';
|
30
|
-
actual.instance = defResult;
|
31
|
-
};
|
32
|
-
|
33
|
-
var def = function (id, dependencies, definition) {
|
34
|
-
if (typeof id !== 'string')
|
35
|
-
throw 'module id must be a string';
|
36
|
-
else if (dependencies === undefined)
|
37
|
-
throw 'no dependencies for ' + id;
|
38
|
-
else if (definition === undefined)
|
39
|
-
throw 'no definition function for ' + id;
|
40
|
-
defs[id] = {
|
41
|
-
deps: dependencies,
|
42
|
-
defn: definition,
|
43
|
-
instance: undefined
|
44
|
-
};
|
45
|
-
};
|
46
|
-
|
47
|
-
var dem = function (id) {
|
48
|
-
var actual = defs[id];
|
49
|
-
if (actual === undefined)
|
50
|
-
throw 'module [' + id + '] was undefined';
|
51
|
-
else if (actual.instance === undefined)
|
52
|
-
instantiate(id);
|
53
|
-
return actual.instance;
|
54
|
-
};
|
55
|
-
|
56
|
-
var req = function (ids, callback) {
|
57
|
-
var len = ids.length;
|
58
|
-
var instances = new Array(len);
|
59
|
-
for (var i = 0; i < len; ++i)
|
60
|
-
instances[i] = dem(ids[i]);
|
61
|
-
callback.apply(null, instances);
|
62
|
-
};
|
63
|
-
|
64
|
-
var ephox = {};
|
65
|
-
|
66
|
-
ephox.bolt = {
|
67
|
-
module: {
|
68
|
-
api: {
|
69
|
-
define: def,
|
70
|
-
require: req,
|
71
|
-
demand: dem
|
72
|
-
}
|
73
|
-
}
|
74
|
-
};
|
75
|
-
|
76
|
-
var define = def;
|
77
|
-
var require = req;
|
78
|
-
var demand = dem;
|
79
|
-
// this helps with minification when using a lot of global references
|
80
|
-
var defineGlobal = function (id, ref) {
|
81
|
-
define(id, [], function () { return ref; });
|
82
|
-
};
|
83
|
-
/*jsc
|
84
|
-
["tinymce.plugins.fullpage.Plugin","ephox.katamari.api.Cell","tinymce.core.PluginManager","tinymce.plugins.fullpage.api.Commands","tinymce.plugins.fullpage.core.FilterContent","tinymce.plugins.fullpage.ui.Buttons","global!tinymce.util.Tools.resolve","tinymce.plugins.fullpage.ui.Dialog","tinymce.core.util.Tools","tinymce.plugins.fullpage.api.Settings","tinymce.plugins.fullpage.core.Parser","tinymce.plugins.fullpage.core.Protect","tinymce.core.html.DomParser","tinymce.core.html.Node","tinymce.core.html.Serializer"]
|
85
|
-
jsc*/
|
86
|
-
define(
|
87
|
-
'ephox.katamari.api.Cell',
|
88
|
-
|
89
|
-
[
|
90
|
-
],
|
91
|
-
|
92
|
-
function () {
|
93
|
-
var Cell = function (initial) {
|
94
|
-
var value = initial;
|
95
|
-
|
96
|
-
var get = function () {
|
97
|
-
return value;
|
98
|
-
};
|
99
|
-
|
100
|
-
var set = function (v) {
|
101
|
-
value = v;
|
102
|
-
};
|
103
|
-
|
104
|
-
var clone = function () {
|
105
|
-
return Cell(get());
|
106
|
-
};
|
107
|
-
|
108
|
-
return {
|
109
|
-
get: get,
|
110
|
-
set: set,
|
111
|
-
clone: clone
|
112
|
-
};
|
113
|
-
};
|
114
|
-
|
115
|
-
return Cell;
|
116
|
-
}
|
117
|
-
);
|
118
|
-
|
119
|
-
defineGlobal("global!tinymce.util.Tools.resolve", tinymce.util.Tools.resolve);
|
120
|
-
/**
|
121
|
-
* ResolveGlobal.js
|
122
|
-
*
|
123
|
-
* Released under LGPL License.
|
124
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
125
|
-
*
|
126
|
-
* License: http://www.tinymce.com/license
|
127
|
-
* Contributing: http://www.tinymce.com/contributing
|
128
|
-
*/
|
129
|
-
|
130
|
-
define(
|
131
|
-
'tinymce.core.PluginManager',
|
132
|
-
[
|
133
|
-
'global!tinymce.util.Tools.resolve'
|
134
|
-
],
|
135
|
-
function (resolve) {
|
136
|
-
return resolve('tinymce.PluginManager');
|
137
|
-
}
|
138
|
-
);
|
139
|
-
|
140
|
-
/**
|
141
|
-
* ResolveGlobal.js
|
142
|
-
*
|
143
|
-
* Released under LGPL License.
|
144
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
145
|
-
*
|
146
|
-
* License: http://www.tinymce.com/license
|
147
|
-
* Contributing: http://www.tinymce.com/contributing
|
148
|
-
*/
|
149
|
-
|
150
|
-
define(
|
151
|
-
'tinymce.core.util.Tools',
|
152
|
-
[
|
153
|
-
'global!tinymce.util.Tools.resolve'
|
154
|
-
],
|
155
|
-
function (resolve) {
|
156
|
-
return resolve('tinymce.util.Tools');
|
157
|
-
}
|
158
|
-
);
|
159
|
-
|
160
|
-
/**
|
161
|
-
* ResolveGlobal.js
|
162
|
-
*
|
163
|
-
* Released under LGPL License.
|
164
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
165
|
-
*
|
166
|
-
* License: http://www.tinymce.com/license
|
167
|
-
* Contributing: http://www.tinymce.com/contributing
|
168
|
-
*/
|
169
|
-
|
170
|
-
define(
|
171
|
-
'tinymce.core.html.DomParser',
|
172
|
-
[
|
173
|
-
'global!tinymce.util.Tools.resolve'
|
174
|
-
],
|
175
|
-
function (resolve) {
|
176
|
-
return resolve('tinymce.html.DomParser');
|
177
|
-
}
|
178
|
-
);
|
179
|
-
|
180
|
-
/**
|
181
|
-
* ResolveGlobal.js
|
182
|
-
*
|
183
|
-
* Released under LGPL License.
|
184
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
185
|
-
*
|
186
|
-
* License: http://www.tinymce.com/license
|
187
|
-
* Contributing: http://www.tinymce.com/contributing
|
188
|
-
*/
|
189
|
-
|
190
|
-
define(
|
191
|
-
'tinymce.core.html.Node',
|
192
|
-
[
|
193
|
-
'global!tinymce.util.Tools.resolve'
|
194
|
-
],
|
195
|
-
function (resolve) {
|
196
|
-
return resolve('tinymce.html.Node');
|
197
|
-
}
|
198
|
-
);
|
199
|
-
|
200
|
-
/**
|
201
|
-
* ResolveGlobal.js
|
202
|
-
*
|
203
|
-
* Released under LGPL License.
|
204
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
205
|
-
*
|
206
|
-
* License: http://www.tinymce.com/license
|
207
|
-
* Contributing: http://www.tinymce.com/contributing
|
208
|
-
*/
|
209
|
-
|
210
|
-
define(
|
211
|
-
'tinymce.core.html.Serializer',
|
212
|
-
[
|
213
|
-
'global!tinymce.util.Tools.resolve'
|
214
|
-
],
|
215
|
-
function (resolve) {
|
216
|
-
return resolve('tinymce.html.Serializer');
|
217
|
-
}
|
218
|
-
);
|
219
|
-
|
220
|
-
/**
|
221
|
-
* Settings.js
|
222
|
-
*
|
223
|
-
* Released under LGPL License.
|
224
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
225
|
-
*
|
226
|
-
* License: http://www.tinymce.com/license
|
227
|
-
* Contributing: http://www.tinymce.com/contributing
|
228
|
-
*/
|
229
|
-
|
230
|
-
define(
|
231
|
-
'tinymce.plugins.fullpage.api.Settings',
|
232
|
-
[
|
233
|
-
],
|
234
|
-
function () {
|
235
|
-
var shouldHideInSourceView = function (editor) {
|
236
|
-
return editor.getParam('fullpage_hide_in_source_view');
|
5
|
+
var Cell = function (initial) {
|
6
|
+
var value = initial;
|
7
|
+
var get = function () {
|
8
|
+
return value;
|
237
9
|
};
|
238
|
-
|
239
|
-
|
240
|
-
return editor.getParam('fullpage_default_xml_pi');
|
10
|
+
var set = function (v) {
|
11
|
+
value = v;
|
241
12
|
};
|
242
|
-
|
243
|
-
|
244
|
-
return editor.getParam('fullpage_default_encoding');
|
13
|
+
var clone = function () {
|
14
|
+
return Cell(get());
|
245
15
|
};
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
var getDefaultFontSize = function (editor) {
|
252
|
-
return editor.getParam('fullpage_default_font_size');
|
253
|
-
};
|
254
|
-
|
255
|
-
var getDefaultTextColor = function (editor) {
|
256
|
-
return editor.getParam('fullpage_default_text_color');
|
16
|
+
return {
|
17
|
+
get: get,
|
18
|
+
set: set,
|
19
|
+
clone: clone
|
257
20
|
};
|
21
|
+
};
|
258
22
|
|
259
|
-
|
260
|
-
return editor.getParam('fullpage_default_title');
|
261
|
-
};
|
23
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
262
24
|
|
263
|
-
|
264
|
-
return editor.getParam('fullpage_default_doctype', '<!DOCTYPE html>');
|
265
|
-
};
|
25
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
266
26
|
|
267
|
-
|
268
|
-
shouldHideInSourceView: shouldHideInSourceView,
|
269
|
-
getDefaultXmlPi: getDefaultXmlPi,
|
270
|
-
getDefaultEncoding: getDefaultEncoding,
|
271
|
-
getDefaultFontFamily: getDefaultFontFamily,
|
272
|
-
getDefaultFontSize: getDefaultFontSize,
|
273
|
-
getDefaultTextColor: getDefaultTextColor,
|
274
|
-
getDefaultTitle: getDefaultTitle,
|
275
|
-
getDefaultDocType: getDefaultDocType
|
276
|
-
};
|
277
|
-
}
|
278
|
-
);
|
279
|
-
/**
|
280
|
-
* Protect.js
|
281
|
-
*
|
282
|
-
* Released under LGPL License.
|
283
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
284
|
-
*
|
285
|
-
* License: http://www.tinymce.com/license
|
286
|
-
* Contributing: http://www.tinymce.com/contributing
|
287
|
-
*/
|
27
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.html.DomParser');
|
288
28
|
|
289
|
-
|
290
|
-
'tinymce.plugins.fullpage.core.Parser',
|
291
|
-
[
|
292
|
-
'tinymce.core.html.DomParser',
|
293
|
-
'tinymce.core.html.Node',
|
294
|
-
'tinymce.core.html.Serializer',
|
295
|
-
'tinymce.core.util.Tools',
|
296
|
-
'tinymce.plugins.fullpage.api.Settings'
|
297
|
-
],
|
298
|
-
function (DomParser, Node, Serializer, Tools, Settings) {
|
299
|
-
var parseHeader = function (head) {
|
300
|
-
// Parse the contents with a DOM parser
|
301
|
-
return new DomParser({
|
302
|
-
validate: false,
|
303
|
-
root_name: '#document'
|
304
|
-
}).parse(head);
|
305
|
-
};
|
29
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.html.Node');
|
306
30
|
|
307
|
-
|
308
|
-
var headerFragment = parseHeader(head), data = {}, elm, matches;
|
31
|
+
var global$4 = tinymce.util.Tools.resolve('tinymce.html.Serializer');
|
309
32
|
|
310
|
-
|
311
|
-
|
33
|
+
var shouldHideInSourceView = function (editor) {
|
34
|
+
return editor.getParam('fullpage_hide_in_source_view');
|
35
|
+
};
|
36
|
+
var getDefaultXmlPi = function (editor) {
|
37
|
+
return editor.getParam('fullpage_default_xml_pi');
|
38
|
+
};
|
39
|
+
var getDefaultEncoding = function (editor) {
|
40
|
+
return editor.getParam('fullpage_default_encoding');
|
41
|
+
};
|
42
|
+
var getDefaultFontFamily = function (editor) {
|
43
|
+
return editor.getParam('fullpage_default_font_family');
|
44
|
+
};
|
45
|
+
var getDefaultFontSize = function (editor) {
|
46
|
+
return editor.getParam('fullpage_default_font_size');
|
47
|
+
};
|
48
|
+
var getDefaultTextColor = function (editor) {
|
49
|
+
return editor.getParam('fullpage_default_text_color');
|
50
|
+
};
|
51
|
+
var getDefaultTitle = function (editor) {
|
52
|
+
return editor.getParam('fullpage_default_title');
|
53
|
+
};
|
54
|
+
var getDefaultDocType = function (editor) {
|
55
|
+
return editor.getParam('fullpage_default_doctype', '<!DOCTYPE html>');
|
56
|
+
};
|
57
|
+
var $_62m00kc6jm0ofygy = {
|
58
|
+
shouldHideInSourceView: shouldHideInSourceView,
|
59
|
+
getDefaultXmlPi: getDefaultXmlPi,
|
60
|
+
getDefaultEncoding: getDefaultEncoding,
|
61
|
+
getDefaultFontFamily: getDefaultFontFamily,
|
62
|
+
getDefaultFontSize: getDefaultFontSize,
|
63
|
+
getDefaultTextColor: getDefaultTextColor,
|
64
|
+
getDefaultTitle: getDefaultTitle,
|
65
|
+
getDefaultDocType: getDefaultDocType
|
66
|
+
};
|
312
67
|
|
313
|
-
|
68
|
+
var parseHeader = function (head) {
|
69
|
+
return global$2({
|
70
|
+
validate: false,
|
71
|
+
root_name: '#document'
|
72
|
+
}).parse(head);
|
73
|
+
};
|
74
|
+
var htmlToData = function (editor, head) {
|
75
|
+
var headerFragment = parseHeader(head);
|
76
|
+
var data = {};
|
77
|
+
var elm, matches;
|
78
|
+
function getAttr(elm, name) {
|
79
|
+
var value = elm.attr(name);
|
80
|
+
return value || '';
|
81
|
+
}
|
82
|
+
data.fontface = $_62m00kc6jm0ofygy.getDefaultFontFamily(editor);
|
83
|
+
data.fontsize = $_62m00kc6jm0ofygy.getDefaultFontSize(editor);
|
84
|
+
elm = headerFragment.firstChild;
|
85
|
+
if (elm.type === 7) {
|
86
|
+
data.xml_pi = true;
|
87
|
+
matches = /encoding="([^"]+)"/.exec(elm.value);
|
88
|
+
if (matches) {
|
89
|
+
data.docencoding = matches[1];
|
314
90
|
}
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
data.
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
91
|
+
}
|
92
|
+
elm = headerFragment.getAll('#doctype')[0];
|
93
|
+
if (elm) {
|
94
|
+
data.doctype = '<!DOCTYPE' + elm.value + '>';
|
95
|
+
}
|
96
|
+
elm = headerFragment.getAll('title')[0];
|
97
|
+
if (elm && elm.firstChild) {
|
98
|
+
data.title = elm.firstChild.value;
|
99
|
+
}
|
100
|
+
global$1.each(headerFragment.getAll('meta'), function (meta) {
|
101
|
+
var name = meta.attr('name');
|
102
|
+
var httpEquiv = meta.attr('http-equiv');
|
103
|
+
var matches;
|
104
|
+
if (name) {
|
105
|
+
data[name.toLowerCase()] = meta.attr('content');
|
106
|
+
} else if (httpEquiv === 'Content-Type') {
|
107
|
+
matches = /charset\s*=\s*(.*)\s*/gi.exec(meta.attr('content'));
|
326
108
|
if (matches) {
|
327
109
|
data.docencoding = matches[1];
|
328
110
|
}
|
329
111
|
}
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
112
|
+
});
|
113
|
+
elm = headerFragment.getAll('html')[0];
|
114
|
+
if (elm) {
|
115
|
+
data.langcode = getAttr(elm, 'lang') || getAttr(elm, 'xml:lang');
|
116
|
+
}
|
117
|
+
data.stylesheets = [];
|
118
|
+
global$1.each(headerFragment.getAll('link'), function (link) {
|
119
|
+
if (link.attr('rel') === 'stylesheet') {
|
120
|
+
data.stylesheets.push(link.attr('href'));
|
335
121
|
}
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
122
|
+
});
|
123
|
+
elm = headerFragment.getAll('body')[0];
|
124
|
+
if (elm) {
|
125
|
+
data.langdir = getAttr(elm, 'dir');
|
126
|
+
data.style = getAttr(elm, 'style');
|
127
|
+
data.visited_color = getAttr(elm, 'vlink');
|
128
|
+
data.link_color = getAttr(elm, 'link');
|
129
|
+
data.active_color = getAttr(elm, 'alink');
|
130
|
+
}
|
131
|
+
return data;
|
132
|
+
};
|
133
|
+
var dataToHtml = function (editor, data, head) {
|
134
|
+
var headerFragment, headElement, html, elm, value;
|
135
|
+
var dom = editor.dom;
|
136
|
+
function setAttr(elm, name, value) {
|
137
|
+
elm.attr(name, value ? value : undefined);
|
138
|
+
}
|
139
|
+
function addHeadNode(node) {
|
140
|
+
if (headElement.firstChild) {
|
141
|
+
headElement.insert(node, headElement.firstChild);
|
142
|
+
} else {
|
143
|
+
headElement.append(node);
|
341
144
|
}
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
if (name) {
|
348
|
-
data[name.toLowerCase()] = meta.attr('content');
|
349
|
-
} else if (httpEquiv === "Content-Type") {
|
350
|
-
matches = /charset\s*=\s*(.*)\s*/gi.exec(meta.attr('content'));
|
351
|
-
|
352
|
-
if (matches) {
|
353
|
-
data.docencoding = matches[1];
|
354
|
-
}
|
355
|
-
}
|
356
|
-
});
|
357
|
-
|
358
|
-
// Parse html attribs
|
145
|
+
}
|
146
|
+
headerFragment = parseHeader(head);
|
147
|
+
headElement = headerFragment.getAll('head')[0];
|
148
|
+
if (!headElement) {
|
359
149
|
elm = headerFragment.getAll('html')[0];
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
data.stylesheets = [];
|
366
|
-
Tools.each(headerFragment.getAll('link'), function (link) {
|
367
|
-
if (link.attr('rel') === 'stylesheet') {
|
368
|
-
data.stylesheets.push(link.attr('href'));
|
369
|
-
}
|
370
|
-
});
|
371
|
-
|
372
|
-
// Parse body parts
|
373
|
-
elm = headerFragment.getAll('body')[0];
|
374
|
-
if (elm) {
|
375
|
-
data.langdir = getAttr(elm, 'dir');
|
376
|
-
data.style = getAttr(elm, 'style');
|
377
|
-
data.visited_color = getAttr(elm, 'vlink');
|
378
|
-
data.link_color = getAttr(elm, 'link');
|
379
|
-
data.active_color = getAttr(elm, 'alink');
|
150
|
+
headElement = new global$3('head', 1);
|
151
|
+
if (elm.firstChild) {
|
152
|
+
elm.insert(headElement, elm.firstChild, true);
|
153
|
+
} else {
|
154
|
+
elm.append(headElement);
|
380
155
|
}
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
function setAttr(elm, name, value) {
|
389
|
-
elm.attr(name, value ? value : undefined);
|
156
|
+
}
|
157
|
+
elm = headerFragment.firstChild;
|
158
|
+
if (data.xml_pi) {
|
159
|
+
value = 'version="1.0"';
|
160
|
+
if (data.docencoding) {
|
161
|
+
value += ' encoding="' + data.docencoding + '"';
|
390
162
|
}
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
headElement.insert(node, headElement.firstChild);
|
395
|
-
} else {
|
396
|
-
headElement.append(node);
|
397
|
-
}
|
163
|
+
if (elm.type !== 7) {
|
164
|
+
elm = new global$3('xml', 7);
|
165
|
+
headerFragment.insert(elm, headerFragment.firstChild, true);
|
398
166
|
}
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
167
|
+
elm.value = value;
|
168
|
+
} else if (elm && elm.type === 7) {
|
169
|
+
elm.remove();
|
170
|
+
}
|
171
|
+
elm = headerFragment.getAll('#doctype')[0];
|
172
|
+
if (data.doctype) {
|
173
|
+
if (!elm) {
|
174
|
+
elm = new global$3('#doctype', 10);
|
175
|
+
if (data.xml_pi) {
|
176
|
+
headerFragment.insert(elm, headerFragment.firstChild);
|
408
177
|
} else {
|
409
|
-
elm
|
410
|
-
}
|
411
|
-
}
|
412
|
-
|
413
|
-
// Add/update/remove XML-PI
|
414
|
-
elm = headerFragment.firstChild;
|
415
|
-
if (data.xml_pi) {
|
416
|
-
value = 'version="1.0"';
|
417
|
-
|
418
|
-
if (data.docencoding) {
|
419
|
-
value += ' encoding="' + data.docencoding + '"';
|
420
|
-
}
|
421
|
-
|
422
|
-
if (elm.type !== 7) {
|
423
|
-
elm = new Node('xml', 7);
|
424
|
-
headerFragment.insert(elm, headerFragment.firstChild, true);
|
178
|
+
addHeadNode(elm);
|
425
179
|
}
|
426
|
-
|
427
|
-
elm.value = value;
|
428
|
-
} else if (elm && elm.type === 7) {
|
429
|
-
elm.remove();
|
430
180
|
}
|
431
|
-
|
432
|
-
|
433
|
-
elm
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
headerFragment.insert(elm, headerFragment.firstChild);
|
440
|
-
} else {
|
441
|
-
addHeadNode(elm);
|
442
|
-
}
|
443
|
-
}
|
444
|
-
|
445
|
-
elm.value = data.doctype.substring(9, data.doctype.length - 1);
|
446
|
-
} else if (elm) {
|
447
|
-
elm.remove();
|
181
|
+
elm.value = data.doctype.substring(9, data.doctype.length - 1);
|
182
|
+
} else if (elm) {
|
183
|
+
elm.remove();
|
184
|
+
}
|
185
|
+
elm = null;
|
186
|
+
global$1.each(headerFragment.getAll('meta'), function (meta) {
|
187
|
+
if (meta.attr('http-equiv') === 'Content-Type') {
|
188
|
+
elm = meta;
|
448
189
|
}
|
449
|
-
|
450
|
-
|
451
|
-
elm
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
});
|
457
|
-
|
458
|
-
if (data.docencoding) {
|
459
|
-
if (!elm) {
|
460
|
-
elm = new Node('meta', 1);
|
461
|
-
elm.attr('http-equiv', 'Content-Type');
|
462
|
-
elm.shortEnded = true;
|
463
|
-
addHeadNode(elm);
|
464
|
-
}
|
465
|
-
|
466
|
-
elm.attr('content', 'text/html; charset=' + data.docencoding);
|
467
|
-
} else if (elm) {
|
468
|
-
elm.remove();
|
190
|
+
});
|
191
|
+
if (data.docencoding) {
|
192
|
+
if (!elm) {
|
193
|
+
elm = new global$3('meta', 1);
|
194
|
+
elm.attr('http-equiv', 'Content-Type');
|
195
|
+
elm.shortEnded = true;
|
196
|
+
addHeadNode(elm);
|
469
197
|
}
|
470
|
-
|
471
|
-
|
472
|
-
elm
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
elm.append(new Node('#text', 3)).value = data.title;
|
482
|
-
} else if (elm) {
|
483
|
-
elm.remove();
|
198
|
+
elm.attr('content', 'text/html; charset=' + data.docencoding);
|
199
|
+
} else if (elm) {
|
200
|
+
elm.remove();
|
201
|
+
}
|
202
|
+
elm = headerFragment.getAll('title')[0];
|
203
|
+
if (data.title) {
|
204
|
+
if (!elm) {
|
205
|
+
elm = new global$3('title', 1);
|
206
|
+
addHeadNode(elm);
|
207
|
+
} else {
|
208
|
+
elm.empty();
|
484
209
|
}
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
return;
|
210
|
+
elm.append(new global$3('#text', 3)).value = data.title;
|
211
|
+
} else if (elm) {
|
212
|
+
elm.remove();
|
213
|
+
}
|
214
|
+
global$1.each('keywords,description,author,copyright,robots'.split(','), function (name) {
|
215
|
+
var nodes = headerFragment.getAll('meta');
|
216
|
+
var i, meta;
|
217
|
+
var value = data[name];
|
218
|
+
for (i = 0; i < nodes.length; i++) {
|
219
|
+
meta = nodes[i];
|
220
|
+
if (meta.attr('name') === name) {
|
221
|
+
if (value) {
|
222
|
+
meta.attr('content', value);
|
223
|
+
} else {
|
224
|
+
meta.remove();
|
501
225
|
}
|
226
|
+
return;
|
502
227
|
}
|
503
|
-
|
504
|
-
if (value) {
|
505
|
-
elm = new Node('meta', 1);
|
506
|
-
elm.attr('name', name);
|
507
|
-
elm.attr('content', value);
|
508
|
-
elm.shortEnded = true;
|
509
|
-
|
510
|
-
addHeadNode(elm);
|
511
|
-
}
|
512
|
-
});
|
513
|
-
|
514
|
-
var currentStyleSheetsMap = {};
|
515
|
-
Tools.each(headerFragment.getAll('link'), function (stylesheet) {
|
516
|
-
if (stylesheet.attr('rel') === 'stylesheet') {
|
517
|
-
currentStyleSheetsMap[stylesheet.attr('href')] = stylesheet;
|
518
|
-
}
|
519
|
-
});
|
520
|
-
|
521
|
-
// Add new
|
522
|
-
Tools.each(data.stylesheets, function (stylesheet) {
|
523
|
-
if (!currentStyleSheetsMap[stylesheet]) {
|
524
|
-
elm = new Node('link', 1);
|
525
|
-
elm.attr({
|
526
|
-
rel: 'stylesheet',
|
527
|
-
text: 'text/css',
|
528
|
-
href: stylesheet
|
529
|
-
});
|
530
|
-
elm.shortEnded = true;
|
531
|
-
addHeadNode(elm);
|
532
|
-
}
|
533
|
-
|
534
|
-
delete currentStyleSheetsMap[stylesheet];
|
535
|
-
});
|
536
|
-
|
537
|
-
// Delete old
|
538
|
-
Tools.each(currentStyleSheetsMap, function (stylesheet) {
|
539
|
-
stylesheet.remove();
|
540
|
-
});
|
541
|
-
|
542
|
-
// Update body attributes
|
543
|
-
elm = headerFragment.getAll('body')[0];
|
544
|
-
if (elm) {
|
545
|
-
setAttr(elm, 'dir', data.langdir);
|
546
|
-
setAttr(elm, 'style', data.style);
|
547
|
-
setAttr(elm, 'vlink', data.visited_color);
|
548
|
-
setAttr(elm, 'link', data.link_color);
|
549
|
-
setAttr(elm, 'alink', data.active_color);
|
550
|
-
|
551
|
-
// Update iframe body as well
|
552
|
-
dom.setAttribs(editor.getBody(), {
|
553
|
-
style: data.style,
|
554
|
-
dir: data.dir,
|
555
|
-
vLink: data.visited_color,
|
556
|
-
link: data.link_color,
|
557
|
-
aLink: data.active_color
|
558
|
-
});
|
559
228
|
}
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
229
|
+
if (value) {
|
230
|
+
elm = new global$3('meta', 1);
|
231
|
+
elm.attr('name', name);
|
232
|
+
elm.attr('content', value);
|
233
|
+
elm.shortEnded = true;
|
234
|
+
addHeadNode(elm);
|
566
235
|
}
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
236
|
+
});
|
237
|
+
var currentStyleSheetsMap = {};
|
238
|
+
global$1.each(headerFragment.getAll('link'), function (stylesheet) {
|
239
|
+
if (stylesheet.attr('rel') === 'stylesheet') {
|
240
|
+
currentStyleSheetsMap[stylesheet.attr('href')] = stylesheet;
|
571
241
|
}
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
}).serialize(headerFragment);
|
581
|
-
|
582
|
-
return html.substring(0, html.indexOf('</body>'));
|
583
|
-
};
|
584
|
-
|
585
|
-
return {
|
586
|
-
parseHeader: parseHeader,
|
587
|
-
htmlToData: htmlToData,
|
588
|
-
dataToHtml: dataToHtml
|
589
|
-
};
|
590
|
-
}
|
591
|
-
);
|
592
|
-
|
593
|
-
/**
|
594
|
-
* Dialog.js
|
595
|
-
*
|
596
|
-
* Released under LGPL License.
|
597
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
598
|
-
*
|
599
|
-
* License: http://www.tinymce.com/license
|
600
|
-
* Contributing: http://www.tinymce.com/contributing
|
601
|
-
*/
|
602
|
-
|
603
|
-
define(
|
604
|
-
'tinymce.plugins.fullpage.ui.Dialog',
|
605
|
-
[
|
606
|
-
'tinymce.core.util.Tools',
|
607
|
-
'tinymce.plugins.fullpage.core.Parser'
|
608
|
-
],
|
609
|
-
function (Tools, Parser) {
|
610
|
-
var open = function (editor, headState) {
|
611
|
-
var data = Parser.htmlToData(editor, headState.get());
|
612
|
-
|
613
|
-
editor.windowManager.open({
|
614
|
-
title: 'Document properties',
|
615
|
-
data: data,
|
616
|
-
defaults: { type: 'textbox', size: 40 },
|
617
|
-
body: [
|
618
|
-
{ name: 'title', label: 'Title' },
|
619
|
-
{ name: 'keywords', label: 'Keywords' },
|
620
|
-
{ name: 'description', label: 'Description' },
|
621
|
-
{ name: 'robots', label: 'Robots' },
|
622
|
-
{ name: 'author', label: 'Author' },
|
623
|
-
{ name: 'docencoding', label: 'Encoding' }
|
624
|
-
],
|
625
|
-
onSubmit: function (e) {
|
626
|
-
var headHtml = Parser.dataToHtml(editor, Tools.extend(data, e.data), headState.get());
|
627
|
-
headState.set(headHtml);
|
628
|
-
}
|
629
|
-
});
|
630
|
-
};
|
631
|
-
|
632
|
-
return {
|
633
|
-
open: open
|
634
|
-
};
|
635
|
-
}
|
636
|
-
);
|
637
|
-
|
638
|
-
/**
|
639
|
-
* Commands.js
|
640
|
-
*
|
641
|
-
* Released under LGPL License.
|
642
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
643
|
-
*
|
644
|
-
* License: http://www.tinymce.com/license
|
645
|
-
* Contributing: http://www.tinymce.com/contributing
|
646
|
-
*/
|
647
|
-
|
648
|
-
define(
|
649
|
-
'tinymce.plugins.fullpage.api.Commands',
|
650
|
-
[
|
651
|
-
'tinymce.plugins.fullpage.ui.Dialog'
|
652
|
-
],
|
653
|
-
function (Dialog) {
|
654
|
-
var register = function (editor, headState) {
|
655
|
-
editor.addCommand('mceFullPageProperties', function () {
|
656
|
-
Dialog.open(editor, headState);
|
657
|
-
});
|
658
|
-
};
|
659
|
-
|
660
|
-
return {
|
661
|
-
register: register
|
662
|
-
};
|
663
|
-
}
|
664
|
-
);
|
665
|
-
/**
|
666
|
-
* Protect.js
|
667
|
-
*
|
668
|
-
* Released under LGPL License.
|
669
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
670
|
-
*
|
671
|
-
* License: http://www.tinymce.com/license
|
672
|
-
* Contributing: http://www.tinymce.com/contributing
|
673
|
-
*/
|
674
|
-
|
675
|
-
define(
|
676
|
-
'tinymce.plugins.fullpage.core.Protect',
|
677
|
-
[
|
678
|
-
'tinymce.core.util.Tools'
|
679
|
-
],
|
680
|
-
function (Tools) {
|
681
|
-
var protectHtml = function (protect, html) {
|
682
|
-
Tools.each(protect, function (pattern) {
|
683
|
-
html = html.replace(pattern, function (str) {
|
684
|
-
return '<!--mce:protected ' + escape(str) + '-->';
|
242
|
+
});
|
243
|
+
global$1.each(data.stylesheets, function (stylesheet) {
|
244
|
+
if (!currentStyleSheetsMap[stylesheet]) {
|
245
|
+
elm = new global$3('link', 1);
|
246
|
+
elm.attr({
|
247
|
+
rel: 'stylesheet',
|
248
|
+
text: 'text/css',
|
249
|
+
href: stylesheet
|
685
250
|
});
|
686
|
-
|
687
|
-
|
688
|
-
return html;
|
689
|
-
};
|
690
|
-
|
691
|
-
var unprotectHtml = function (html) {
|
692
|
-
return html.replace(/<!--mce:protected ([\s\S]*?)-->/g, function (a, m) {
|
693
|
-
return unescape(m);
|
694
|
-
});
|
695
|
-
};
|
696
|
-
|
697
|
-
return {
|
698
|
-
protectHtml: protectHtml,
|
699
|
-
unprotectHtml: unprotectHtml
|
700
|
-
};
|
701
|
-
}
|
702
|
-
);
|
703
|
-
|
704
|
-
/**
|
705
|
-
* FilterContent.js
|
706
|
-
*
|
707
|
-
* Released under LGPL License.
|
708
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
709
|
-
*
|
710
|
-
* License: http://www.tinymce.com/license
|
711
|
-
* Contributing: http://www.tinymce.com/contributing
|
712
|
-
*/
|
713
|
-
|
714
|
-
define(
|
715
|
-
'tinymce.plugins.fullpage.core.FilterContent',
|
716
|
-
[
|
717
|
-
'tinymce.core.util.Tools',
|
718
|
-
'tinymce.plugins.fullpage.api.Settings',
|
719
|
-
'tinymce.plugins.fullpage.core.Parser',
|
720
|
-
'tinymce.plugins.fullpage.core.Protect'
|
721
|
-
],
|
722
|
-
function (Tools, Settings, Parser, Protect) {
|
723
|
-
var each = Tools.each;
|
724
|
-
|
725
|
-
var low = function (s) {
|
726
|
-
return s.replace(/<\/?[A-Z]+/g, function (a) {
|
727
|
-
return a.toLowerCase();
|
728
|
-
});
|
729
|
-
};
|
730
|
-
|
731
|
-
var handleSetContent = function (editor, headState, footState, evt) {
|
732
|
-
var startPos, endPos, content, headerFragment, styles = '', dom = editor.dom, elm;
|
733
|
-
|
734
|
-
if (evt.selection) {
|
735
|
-
return;
|
736
|
-
}
|
737
|
-
|
738
|
-
content = Protect.protectHtml(editor.settings.protect, evt.content);
|
739
|
-
|
740
|
-
// Ignore raw updated if we already have a head, this will fix issues with undo/redo keeping the head/foot separate
|
741
|
-
if (evt.format === 'raw' && headState.get()) {
|
742
|
-
return;
|
743
|
-
}
|
744
|
-
|
745
|
-
if (evt.source_view && Settings.shouldHideInSourceView(editor)) {
|
746
|
-
return;
|
747
|
-
}
|
748
|
-
|
749
|
-
// Fixed so new document/setContent('') doesn't remove existing header/footer except when it's in source code view
|
750
|
-
if (content.length === 0 && !evt.source_view) {
|
751
|
-
content = Tools.trim(headState.get()) + '\n' + Tools.trim(content) + '\n' + Tools.trim(footState.get());
|
251
|
+
elm.shortEnded = true;
|
252
|
+
addHeadNode(elm);
|
752
253
|
}
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
footState.set('\n</body>\n</html>');
|
772
|
-
}
|
773
|
-
|
774
|
-
// Parse header and update iframe
|
775
|
-
headerFragment = Parser.parseHeader(headState.get());
|
776
|
-
each(headerFragment.getAll('style'), function (node) {
|
777
|
-
if (node.firstChild) {
|
778
|
-
styles += node.firstChild.value;
|
779
|
-
}
|
254
|
+
delete currentStyleSheetsMap[stylesheet];
|
255
|
+
});
|
256
|
+
global$1.each(currentStyleSheetsMap, function (stylesheet) {
|
257
|
+
stylesheet.remove();
|
258
|
+
});
|
259
|
+
elm = headerFragment.getAll('body')[0];
|
260
|
+
if (elm) {
|
261
|
+
setAttr(elm, 'dir', data.langdir);
|
262
|
+
setAttr(elm, 'style', data.style);
|
263
|
+
setAttr(elm, 'vlink', data.visited_color);
|
264
|
+
setAttr(elm, 'link', data.link_color);
|
265
|
+
setAttr(elm, 'alink', data.active_color);
|
266
|
+
dom.setAttribs(editor.getBody(), {
|
267
|
+
style: data.style,
|
268
|
+
dir: data.dir,
|
269
|
+
vLink: data.visited_color,
|
270
|
+
link: data.link_color,
|
271
|
+
aLink: data.active_color
|
780
272
|
});
|
273
|
+
}
|
274
|
+
elm = headerFragment.getAll('html')[0];
|
275
|
+
if (elm) {
|
276
|
+
setAttr(elm, 'lang', data.langcode);
|
277
|
+
setAttr(elm, 'xml:lang', data.langcode);
|
278
|
+
}
|
279
|
+
if (!headElement.firstChild) {
|
280
|
+
headElement.remove();
|
281
|
+
}
|
282
|
+
html = global$4({
|
283
|
+
validate: false,
|
284
|
+
indent: true,
|
285
|
+
apply_source_formatting: true,
|
286
|
+
indent_before: 'head,html,body,meta,title,script,link,style',
|
287
|
+
indent_after: 'head,html,body,meta,title,script,link,style'
|
288
|
+
}).serialize(headerFragment);
|
289
|
+
return html.substring(0, html.indexOf('</body>'));
|
290
|
+
};
|
291
|
+
var $_6vv02yc2jm0ofygr = {
|
292
|
+
parseHeader: parseHeader,
|
293
|
+
htmlToData: htmlToData,
|
294
|
+
dataToHtml: dataToHtml
|
295
|
+
};
|
781
296
|
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
297
|
+
var open = function (editor, headState) {
|
298
|
+
var data = $_6vv02yc2jm0ofygr.htmlToData(editor, headState.get());
|
299
|
+
editor.windowManager.open({
|
300
|
+
title: 'Document properties',
|
301
|
+
data: data,
|
302
|
+
defaults: {
|
303
|
+
type: 'textbox',
|
304
|
+
size: 40
|
305
|
+
},
|
306
|
+
body: [
|
307
|
+
{
|
308
|
+
name: 'title',
|
309
|
+
label: 'Title'
|
310
|
+
},
|
311
|
+
{
|
312
|
+
name: 'keywords',
|
313
|
+
label: 'Keywords'
|
314
|
+
},
|
315
|
+
{
|
316
|
+
name: 'description',
|
317
|
+
label: 'Description'
|
318
|
+
},
|
319
|
+
{
|
320
|
+
name: 'robots',
|
321
|
+
label: 'Robots'
|
322
|
+
},
|
323
|
+
{
|
324
|
+
name: 'author',
|
325
|
+
label: 'Author'
|
326
|
+
},
|
327
|
+
{
|
328
|
+
name: 'docencoding',
|
329
|
+
label: 'Encoding'
|
806
330
|
}
|
331
|
+
],
|
332
|
+
onSubmit: function (e) {
|
333
|
+
var headHtml = $_6vv02yc2jm0ofygr.dataToHtml(editor, global$1.extend(data, e.data), headState.get());
|
334
|
+
headState.set(headHtml);
|
807
335
|
}
|
336
|
+
});
|
337
|
+
};
|
338
|
+
var $_9bctdhc0jm0ofygo = { open: open };
|
808
339
|
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
// Add new
|
817
|
-
Tools.each(headerFragment.getAll('link'), function (stylesheet) {
|
818
|
-
var href = stylesheet.attr('href');
|
819
|
-
if (!href) {
|
820
|
-
return true;
|
821
|
-
}
|
822
|
-
|
823
|
-
if (!currentStyleSheetsMap[href] && stylesheet.attr('rel') === 'stylesheet') {
|
824
|
-
dom.add(headElm, 'link', {
|
825
|
-
rel: 'stylesheet',
|
826
|
-
text: 'text/css',
|
827
|
-
href: href,
|
828
|
-
'data-mce-fullpage': '1'
|
829
|
-
});
|
830
|
-
}
|
831
|
-
|
832
|
-
delete currentStyleSheetsMap[href];
|
833
|
-
});
|
340
|
+
var register = function (editor, headState) {
|
341
|
+
editor.addCommand('mceFullPageProperties', function () {
|
342
|
+
$_9bctdhc0jm0ofygo.open(editor, headState);
|
343
|
+
});
|
344
|
+
};
|
345
|
+
var $_9gnfslbzjm0ofygn = { register: register };
|
834
346
|
|
835
|
-
|
836
|
-
|
837
|
-
|
347
|
+
var protectHtml = function (protect, html) {
|
348
|
+
global$1.each(protect, function (pattern) {
|
349
|
+
html = html.replace(pattern, function (str) {
|
350
|
+
return '<!--mce:protected ' + escape(str) + '-->';
|
838
351
|
});
|
839
|
-
};
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
352
|
+
});
|
353
|
+
return html;
|
354
|
+
};
|
355
|
+
var unprotectHtml = function (html) {
|
356
|
+
return html.replace(/<!--mce:protected ([\s\S]*?)-->/g, function (a, m) {
|
357
|
+
return unescape(m);
|
358
|
+
});
|
359
|
+
};
|
360
|
+
var $_37ey1pc8jm0ofyh7 = {
|
361
|
+
protectHtml: protectHtml,
|
362
|
+
unprotectHtml: unprotectHtml
|
363
|
+
};
|
851
364
|
|
852
|
-
|
853
|
-
|
365
|
+
var each = global$1.each;
|
366
|
+
var low = function (s) {
|
367
|
+
return s.replace(/<\/?[A-Z]+/g, function (a) {
|
368
|
+
return a.toLowerCase();
|
369
|
+
});
|
370
|
+
};
|
371
|
+
var handleSetContent = function (editor, headState, footState, evt) {
|
372
|
+
var startPos, endPos, content, headerFragment, styles = '';
|
373
|
+
var dom = editor.dom;
|
374
|
+
var elm;
|
375
|
+
if (evt.selection) {
|
376
|
+
return;
|
377
|
+
}
|
378
|
+
content = $_37ey1pc8jm0ofyh7.protectHtml(editor.settings.protect, evt.content);
|
379
|
+
if (evt.format === 'raw' && headState.get()) {
|
380
|
+
return;
|
381
|
+
}
|
382
|
+
if (evt.source_view && $_62m00kc6jm0ofygy.shouldHideInSourceView(editor)) {
|
383
|
+
return;
|
384
|
+
}
|
385
|
+
if (content.length === 0 && !evt.source_view) {
|
386
|
+
content = global$1.trim(headState.get()) + '\n' + global$1.trim(content) + '\n' + global$1.trim(footState.get());
|
387
|
+
}
|
388
|
+
content = content.replace(/<(\/?)BODY/gi, '<$1body');
|
389
|
+
startPos = content.indexOf('<body');
|
390
|
+
if (startPos !== -1) {
|
391
|
+
startPos = content.indexOf('>', startPos);
|
392
|
+
headState.set(low(content.substring(0, startPos + 1)));
|
393
|
+
endPos = content.indexOf('</body', startPos);
|
394
|
+
if (endPos === -1) {
|
395
|
+
endPos = content.length;
|
854
396
|
}
|
855
|
-
|
856
|
-
|
857
|
-
|
397
|
+
evt.content = global$1.trim(content.substring(startPos + 1, endPos));
|
398
|
+
footState.set(low(content.substring(endPos)));
|
399
|
+
} else {
|
400
|
+
headState.set(getDefaultHeader(editor));
|
401
|
+
footState.set('\n</body>\n</html>');
|
402
|
+
}
|
403
|
+
headerFragment = $_6vv02yc2jm0ofygr.parseHeader(headState.get());
|
404
|
+
each(headerFragment.getAll('style'), function (node) {
|
405
|
+
if (node.firstChild) {
|
406
|
+
styles += node.firstChild.value;
|
858
407
|
}
|
859
|
-
|
860
|
-
|
861
|
-
|
408
|
+
});
|
409
|
+
elm = headerFragment.getAll('body')[0];
|
410
|
+
if (elm) {
|
411
|
+
dom.setAttribs(editor.getBody(), {
|
412
|
+
style: elm.attr('style') || '',
|
413
|
+
dir: elm.attr('dir') || '',
|
414
|
+
vLink: elm.attr('vlink') || '',
|
415
|
+
link: elm.attr('link') || '',
|
416
|
+
aLink: elm.attr('alink') || ''
|
417
|
+
});
|
418
|
+
}
|
419
|
+
dom.remove('fullpage_styles');
|
420
|
+
var headElm = editor.getDoc().getElementsByTagName('head')[0];
|
421
|
+
if (styles) {
|
422
|
+
dom.add(headElm, 'style', { id: 'fullpage_styles' }, styles);
|
423
|
+
elm = dom.get('fullpage_styles');
|
424
|
+
if (elm.styleSheet) {
|
425
|
+
elm.styleSheet.cssText = styles;
|
862
426
|
}
|
863
|
-
|
864
|
-
|
865
|
-
|
427
|
+
}
|
428
|
+
var currentStyleSheetsMap = {};
|
429
|
+
global$1.each(headElm.getElementsByTagName('link'), function (stylesheet) {
|
430
|
+
if (stylesheet.rel === 'stylesheet' && stylesheet.getAttribute('data-mce-fullpage')) {
|
431
|
+
currentStyleSheetsMap[stylesheet.href] = stylesheet;
|
866
432
|
}
|
867
|
-
|
868
|
-
|
869
|
-
|
433
|
+
});
|
434
|
+
global$1.each(headerFragment.getAll('link'), function (stylesheet) {
|
435
|
+
var href = stylesheet.attr('href');
|
436
|
+
if (!href) {
|
437
|
+
return true;
|
870
438
|
}
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
if (!evt.selection && (!evt.source_view || !Settings.shouldHideInSourceView(editor))) {
|
879
|
-
evt.content = Protect.unprotectHtml(Tools.trim(head) + '\n' + Tools.trim(evt.content) + '\n' + Tools.trim(foot));
|
439
|
+
if (!currentStyleSheetsMap[href] && stylesheet.attr('rel') === 'stylesheet') {
|
440
|
+
dom.add(headElm, 'link', {
|
441
|
+
'rel': 'stylesheet',
|
442
|
+
'text': 'text/css',
|
443
|
+
'href': href,
|
444
|
+
'data-mce-fullpage': '1'
|
445
|
+
});
|
880
446
|
}
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
447
|
+
delete currentStyleSheetsMap[href];
|
448
|
+
});
|
449
|
+
global$1.each(currentStyleSheetsMap, function (stylesheet) {
|
450
|
+
stylesheet.parentNode.removeChild(stylesheet);
|
451
|
+
});
|
452
|
+
};
|
453
|
+
var getDefaultHeader = function (editor) {
|
454
|
+
var header = '', value, styles = '';
|
455
|
+
if ($_62m00kc6jm0ofygy.getDefaultXmlPi(editor)) {
|
456
|
+
var piEncoding = $_62m00kc6jm0ofygy.getDefaultEncoding(editor);
|
457
|
+
header += '<?xml version="1.0" encoding="' + (piEncoding ? piEncoding : 'ISO-8859-1') + '" ?>\n';
|
458
|
+
}
|
459
|
+
header += $_62m00kc6jm0ofygy.getDefaultDocType(editor);
|
460
|
+
header += '\n<html>\n<head>\n';
|
461
|
+
if (value = $_62m00kc6jm0ofygy.getDefaultTitle(editor)) {
|
462
|
+
header += '<title>' + value + '</title>\n';
|
463
|
+
}
|
464
|
+
if (value = $_62m00kc6jm0ofygy.getDefaultEncoding(editor)) {
|
465
|
+
header += '<meta http-equiv="Content-Type" content="text/html; charset=' + value + '" />\n';
|
466
|
+
}
|
467
|
+
if (value = $_62m00kc6jm0ofygy.getDefaultFontFamily(editor)) {
|
468
|
+
styles += 'font-family: ' + value + ';';
|
469
|
+
}
|
470
|
+
if (value = $_62m00kc6jm0ofygy.getDefaultFontSize(editor)) {
|
471
|
+
styles += 'font-size: ' + value + ';';
|
472
|
+
}
|
473
|
+
if (value = $_62m00kc6jm0ofygy.getDefaultTextColor(editor)) {
|
474
|
+
styles += 'color: ' + value + ';';
|
475
|
+
}
|
476
|
+
header += '</head>\n<body' + (styles ? ' style="' + styles + '"' : '') + '>\n';
|
477
|
+
return header;
|
478
|
+
};
|
479
|
+
var handleGetContent = function (editor, head, foot, evt) {
|
480
|
+
if (!evt.selection && (!evt.source_view || !$_62m00kc6jm0ofygy.shouldHideInSourceView(editor))) {
|
481
|
+
evt.content = $_37ey1pc8jm0ofyh7.unprotectHtml(global$1.trim(head) + '\n' + global$1.trim(evt.content) + '\n' + global$1.trim(foot));
|
482
|
+
}
|
483
|
+
};
|
484
|
+
var setup = function (editor, headState, footState) {
|
485
|
+
editor.on('BeforeSetContent', function (evt) {
|
486
|
+
handleSetContent(editor, headState, footState, evt);
|
487
|
+
});
|
488
|
+
editor.on('GetContent', function (evt) {
|
489
|
+
handleGetContent(editor, headState.get(), footState.get(), evt);
|
490
|
+
});
|
491
|
+
};
|
492
|
+
var $_a4b7gfc7jm0ofyh1 = { setup: setup };
|
924
493
|
|
925
|
-
|
926
|
-
|
927
|
-
|
494
|
+
var register$1 = function (editor) {
|
495
|
+
editor.addButton('fullpage', {
|
496
|
+
title: 'Document properties',
|
497
|
+
cmd: 'mceFullPageProperties'
|
498
|
+
});
|
499
|
+
editor.addMenuItem('fullpage', {
|
500
|
+
text: 'Document properties',
|
501
|
+
cmd: 'mceFullPageProperties',
|
502
|
+
context: 'file'
|
503
|
+
});
|
504
|
+
};
|
505
|
+
var $_7y4hkbc9jm0ofyh8 = { register: register$1 };
|
506
|
+
|
507
|
+
global.add('fullpage', function (editor) {
|
508
|
+
var headState = Cell(''), footState = Cell('');
|
509
|
+
$_9gnfslbzjm0ofygn.register(editor, headState);
|
510
|
+
$_7y4hkbc9jm0ofyh8.register(editor);
|
511
|
+
$_a4b7gfc7jm0ofyh1.setup(editor, headState, footState);
|
512
|
+
});
|
513
|
+
function Plugin () {
|
928
514
|
}
|
929
|
-
);
|
930
|
-
/**
|
931
|
-
* Plugin.js
|
932
|
-
*
|
933
|
-
* Released under LGPL License.
|
934
|
-
* Copyright (c) 1999-2017 Ephox Corp. All rights reserved
|
935
|
-
*
|
936
|
-
* License: http://www.tinymce.com/license
|
937
|
-
* Contributing: http://www.tinymce.com/contributing
|
938
|
-
*/
|
939
|
-
|
940
|
-
define(
|
941
|
-
'tinymce.plugins.fullpage.Plugin',
|
942
|
-
[
|
943
|
-
'ephox.katamari.api.Cell',
|
944
|
-
'tinymce.core.PluginManager',
|
945
|
-
'tinymce.plugins.fullpage.api.Commands',
|
946
|
-
'tinymce.plugins.fullpage.core.FilterContent',
|
947
|
-
'tinymce.plugins.fullpage.ui.Buttons'
|
948
|
-
],
|
949
|
-
function (Cell, PluginManager, Commands, FilterContent, Buttons) {
|
950
|
-
PluginManager.add('fullpage', function (editor) {
|
951
|
-
var headState = Cell(''), footState = Cell('');
|
952
515
|
|
953
|
-
|
954
|
-
Buttons.register(editor);
|
955
|
-
FilterContent.setup(editor, headState, footState);
|
956
|
-
});
|
516
|
+
return Plugin;
|
957
517
|
|
958
|
-
|
959
|
-
}
|
960
|
-
);
|
961
|
-
dem('tinymce.plugins.fullpage.Plugin')();
|
518
|
+
}());
|
962
519
|
})();
|