administrate-field-simple_mde_markdown 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +72 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +196 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +8 -0
- data/administrate-field-simple_mde_markdown.gemspec +31 -0
- data/app/assets/javascripts/administrate-field-simple_mde_markdown/application.js +6 -0
- data/app/assets/stylesheets/administrate-field-simple_mde_markdown/application.css +3 -0
- data/app/views/fields/simple_mde_markdown/_form.html.erb +6 -0
- data/app/views/fields/simple_mde_markdown/_index.html.erb +1 -0
- data/app/views/fields/simple_mde_markdown/_show.html.erb +1 -0
- data/lib/administrate/field/simple_mde_markdown.rb +31 -0
- data/node_modules/.bin/marked +1 -0
- data/node_modules/codemirror-spell-checker/.eslintrc +23 -0
- data/node_modules/codemirror-spell-checker/.npmignore +2 -0
- data/node_modules/codemirror-spell-checker/.travis.yml +18 -0
- data/node_modules/codemirror-spell-checker/CONTRIBUTING 2.md +10 -0
- data/node_modules/codemirror-spell-checker/CONTRIBUTING.md +10 -0
- data/node_modules/codemirror-spell-checker/LICENSE +22 -0
- data/node_modules/codemirror-spell-checker/README.md +50 -0
- data/node_modules/codemirror-spell-checker/bower.json +27 -0
- data/node_modules/codemirror-spell-checker/debug/.spell-checker 2.css.icloud +0 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.css +9 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.debug.js +2844 -0
- data/node_modules/codemirror-spell-checker/debug/spell-checker.js +2841 -0
- data/node_modules/codemirror-spell-checker/dist/.spell-checker.min 2.css.icloud +0 -0
- data/node_modules/codemirror-spell-checker/dist/en_US.aff +201 -0
- data/node_modules/codemirror-spell-checker/dist/en_US.dic +62120 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min 2.js +7 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min.css +7 -0
- data/node_modules/codemirror-spell-checker/dist/spell-checker.min.js +7 -0
- data/node_modules/codemirror-spell-checker/gulpfile.js +94 -0
- data/node_modules/codemirror-spell-checker/package.json +75 -0
- data/node_modules/codemirror-spell-checker/src/css/spell-checker.css +3 -0
- data/node_modules/codemirror-spell-checker/src/data/en_US.aff +201 -0
- data/node_modules/codemirror-spell-checker/src/data/en_US.dic +62120 -0
- data/node_modules/codemirror-spell-checker/src/js/spell-checker.js +119 -0
- data/node_modules/codemirror/.package 2.json.icloud +0 -0
- data/node_modules/codemirror/AUTHORS +773 -0
- data/node_modules/codemirror/CHANGELOG.md +1486 -0
- data/node_modules/codemirror/CONTRIBUTING.md +92 -0
- data/node_modules/codemirror/LICENSE +21 -0
- data/node_modules/codemirror/README.md +49 -0
- data/node_modules/codemirror/addon/comment/comment.js +209 -0
- data/node_modules/codemirror/addon/comment/continuecomment.js +78 -0
- data/node_modules/codemirror/addon/dialog/dialog.css +32 -0
- data/node_modules/codemirror/addon/dialog/dialog.js +161 -0
- data/node_modules/codemirror/addon/display/autorefresh.js +47 -0
- data/node_modules/codemirror/addon/display/fullscreen.css +6 -0
- data/node_modules/codemirror/addon/display/fullscreen.js +41 -0
- data/node_modules/codemirror/addon/display/panel.js +127 -0
- data/node_modules/codemirror/addon/display/placeholder.js +63 -0
- data/node_modules/codemirror/addon/display/rulers.js +51 -0
- data/node_modules/codemirror/addon/edit/closebrackets.js +187 -0
- data/node_modules/codemirror/addon/edit/closetag.js +175 -0
- data/node_modules/codemirror/addon/edit/continuelist.js +89 -0
- data/node_modules/codemirror/addon/edit/matchbrackets.js +145 -0
- data/node_modules/codemirror/addon/edit/matchtags.js +66 -0
- data/node_modules/codemirror/addon/edit/trailingspace.js +27 -0
- data/node_modules/codemirror/addon/fold/brace-fold.js +105 -0
- data/node_modules/codemirror/addon/fold/comment-fold.js +59 -0
- data/node_modules/codemirror/addon/fold/foldcode.js +152 -0
- data/node_modules/codemirror/addon/fold/foldgutter.css +20 -0
- data/node_modules/codemirror/addon/fold/foldgutter.js +146 -0
- data/node_modules/codemirror/addon/fold/indent-fold.js +48 -0
- data/node_modules/codemirror/addon/fold/markdown-fold.js +49 -0
- data/node_modules/codemirror/addon/fold/xml-fold.js +184 -0
- data/node_modules/codemirror/addon/hint/anyword-hint.js +41 -0
- data/node_modules/codemirror/addon/hint/css-hint.js +60 -0
- data/node_modules/codemirror/addon/hint/html-hint.js +348 -0
- data/node_modules/codemirror/addon/hint/javascript-hint.js +157 -0
- data/node_modules/codemirror/addon/hint/show-hint.css +36 -0
- data/node_modules/codemirror/addon/hint/show-hint.js +434 -0
- data/node_modules/codemirror/addon/hint/sql-hint.js +299 -0
- data/node_modules/codemirror/addon/hint/xml-hint.js +110 -0
- data/node_modules/codemirror/addon/lint/coffeescript-lint.js +47 -0
- data/node_modules/codemirror/addon/lint/css-lint.js +40 -0
- data/node_modules/codemirror/addon/lint/html-lint.js +53 -0
- data/node_modules/codemirror/addon/lint/javascript-lint.js +63 -0
- data/node_modules/codemirror/addon/lint/json-lint.js +40 -0
- data/node_modules/codemirror/addon/lint/lint.css +73 -0
- data/node_modules/codemirror/addon/lint/lint.js +252 -0
- data/node_modules/codemirror/addon/lint/yaml-lint.js +41 -0
- data/node_modules/codemirror/addon/merge/merge.css +119 -0
- data/node_modules/codemirror/addon/merge/merge.js +1002 -0
- data/node_modules/codemirror/addon/mode/loadmode.js +64 -0
- data/node_modules/codemirror/addon/mode/multiplex.js +131 -0
- data/node_modules/codemirror/addon/mode/multiplex_test.js +33 -0
- data/node_modules/codemirror/addon/mode/overlay.js +90 -0
- data/node_modules/codemirror/addon/mode/simple.js +216 -0
- data/node_modules/codemirror/addon/runmode/colorize.js +40 -0
- data/node_modules/codemirror/addon/runmode/runmode-standalone.js +158 -0
- data/node_modules/codemirror/addon/runmode/runmode.js +72 -0
- data/node_modules/codemirror/addon/runmode/runmode.node.js +197 -0
- data/node_modules/codemirror/addon/scroll/annotatescrollbar.js +122 -0
- data/node_modules/codemirror/addon/scroll/scrollpastend.js +48 -0
- data/node_modules/codemirror/addon/scroll/simplescrollbars.css +66 -0
- data/node_modules/codemirror/addon/scroll/simplescrollbars.js +152 -0
- data/node_modules/codemirror/addon/search/jump-to-line.js +50 -0
- data/node_modules/codemirror/addon/search/match-highlighter.js +165 -0
- data/node_modules/codemirror/addon/search/matchesonscrollbar.css +8 -0
- data/node_modules/codemirror/addon/search/matchesonscrollbar.js +97 -0
- data/node_modules/codemirror/addon/search/search.js +258 -0
- data/node_modules/codemirror/addon/search/searchcursor.js +293 -0
- data/node_modules/codemirror/addon/selection/active-line.js +72 -0
- data/node_modules/codemirror/addon/selection/mark-selection.js +119 -0
- data/node_modules/codemirror/addon/selection/selection-pointer.js +98 -0
- data/node_modules/codemirror/addon/tern/tern.css +87 -0
- data/node_modules/codemirror/addon/tern/tern.js +718 -0
- data/node_modules/codemirror/addon/tern/worker.js +44 -0
- data/node_modules/codemirror/addon/wrap/hardwrap.js +145 -0
- data/node_modules/codemirror/bin/source-highlight +48 -0
- data/node_modules/codemirror/keymap/emacs.js +417 -0
- data/node_modules/codemirror/keymap/sublime.js +691 -0
- data/node_modules/codemirror/keymap/vim.js +5467 -0
- data/node_modules/codemirror/lib/codemirror.css +346 -0
- data/node_modules/codemirror/lib/codemirror.js +9698 -0
- data/node_modules/codemirror/mode/apl/apl.js +174 -0
- data/node_modules/codemirror/mode/asciiarmor/asciiarmor.js +74 -0
- data/node_modules/codemirror/mode/asn.1/asn.1.js +204 -0
- data/node_modules/codemirror/mode/asterisk/asterisk.js +196 -0
- data/node_modules/codemirror/mode/brainfuck/brainfuck.js +85 -0
- data/node_modules/codemirror/mode/clike/clike.js +879 -0
- data/node_modules/codemirror/mode/clojure/clojure.js +292 -0
- data/node_modules/codemirror/mode/cmake/cmake.js +97 -0
- data/node_modules/codemirror/mode/cobol/cobol.js +255 -0
- data/node_modules/codemirror/mode/coffeescript/coffeescript.js +359 -0
- data/node_modules/codemirror/mode/commonlisp/commonlisp.js +124 -0
- data/node_modules/codemirror/mode/crystal/crystal.js +433 -0
- data/node_modules/codemirror/mode/css/css.js +832 -0
- data/node_modules/codemirror/mode/cypher/cypher.js +150 -0
- data/node_modules/codemirror/mode/d/d.js +223 -0
- data/node_modules/codemirror/mode/dart/dart.js +157 -0
- data/node_modules/codemirror/mode/diff/diff.js +47 -0
- data/node_modules/codemirror/mode/django/django.js +356 -0
- data/node_modules/codemirror/mode/dockerfile/dockerfile.js +211 -0
- data/node_modules/codemirror/mode/dtd/dtd.js +142 -0
- data/node_modules/codemirror/mode/dylan/dylan.js +352 -0
- data/node_modules/codemirror/mode/ebnf/ebnf.js +195 -0
- data/node_modules/codemirror/mode/ecl/ecl.js +206 -0
- data/node_modules/codemirror/mode/eiffel/eiffel.js +160 -0
- data/node_modules/codemirror/mode/elm/elm.js +205 -0
- data/node_modules/codemirror/mode/erlang/erlang.js +619 -0
- data/node_modules/codemirror/mode/factor/factor.js +85 -0
- data/node_modules/codemirror/mode/fcl/fcl.js +173 -0
- data/node_modules/codemirror/mode/forth/forth.js +180 -0
- data/node_modules/codemirror/mode/fortran/fortran.js +188 -0
- data/node_modules/codemirror/mode/gas/gas.js +345 -0
- data/node_modules/codemirror/mode/gfm/gfm.js +129 -0
- data/node_modules/codemirror/mode/gherkin/gherkin.js +178 -0
- data/node_modules/codemirror/mode/go/go.js +187 -0
- data/node_modules/codemirror/mode/groovy/groovy.js +230 -0
- data/node_modules/codemirror/mode/haml/haml.js +161 -0
- data/node_modules/codemirror/mode/handlebars/handlebars.js +66 -0
- data/node_modules/codemirror/mode/haskell-literate/haskell-literate.js +43 -0
- data/node_modules/codemirror/mode/haskell/haskell.js +268 -0
- data/node_modules/codemirror/mode/haxe/haxe.js +515 -0
- data/node_modules/codemirror/mode/htmlembedded/htmlembedded.js +37 -0
- data/node_modules/codemirror/mode/htmlmixed/htmlmixed.js +152 -0
- data/node_modules/codemirror/mode/http/http.js +113 -0
- data/node_modules/codemirror/mode/idl/idl.js +290 -0
- data/node_modules/codemirror/mode/javascript/javascript.js +899 -0
- data/node_modules/codemirror/mode/jinja2/jinja2.js +144 -0
- data/node_modules/codemirror/mode/jsx/jsx.js +148 -0
- data/node_modules/codemirror/mode/julia/julia.js +433 -0
- data/node_modules/codemirror/mode/livescript/livescript.js +280 -0
- data/node_modules/codemirror/mode/lua/lua.js +159 -0
- data/node_modules/codemirror/mode/markdown/markdown.js +884 -0
- data/node_modules/codemirror/mode/mathematica/mathematica.js +176 -0
- data/node_modules/codemirror/mode/mbox/mbox.js +129 -0
- data/node_modules/codemirror/mode/meta.js +217 -0
- data/node_modules/codemirror/mode/mirc/mirc.js +193 -0
- data/node_modules/codemirror/mode/mllike/mllike.js +359 -0
- data/node_modules/codemirror/mode/modelica/modelica.js +245 -0
- data/node_modules/codemirror/mode/mscgen/mscgen.js +175 -0
- data/node_modules/codemirror/mode/mumps/mumps.js +148 -0
- data/node_modules/codemirror/mode/nginx/nginx.js +178 -0
- data/node_modules/codemirror/mode/nsis/nsis.js +95 -0
- data/node_modules/codemirror/mode/ntriples/ntriples.js +195 -0
- data/node_modules/codemirror/mode/octave/octave.js +139 -0
- data/node_modules/codemirror/mode/oz/oz.js +252 -0
- data/node_modules/codemirror/mode/pascal/pascal.js +121 -0
- data/node_modules/codemirror/mode/pegjs/pegjs.js +114 -0
- data/node_modules/codemirror/mode/perl/perl.js +837 -0
- data/node_modules/codemirror/mode/php/php.js +234 -0
- data/node_modules/codemirror/mode/pig/pig.js +178 -0
- data/node_modules/codemirror/mode/powershell/powershell.js +398 -0
- data/node_modules/codemirror/mode/properties/properties 2.js +78 -0
- data/node_modules/codemirror/mode/properties/properties.js +78 -0
- data/node_modules/codemirror/mode/protobuf/protobuf.js +69 -0
- data/node_modules/codemirror/mode/pug/pug.js +591 -0
- data/node_modules/codemirror/mode/puppet/puppet.js +220 -0
- data/node_modules/codemirror/mode/python/python.js +409 -0
- data/node_modules/codemirror/mode/q/q.js +139 -0
- data/node_modules/codemirror/mode/r/r.js +190 -0
- data/node_modules/codemirror/mode/rpm/changes/index.html +66 -0
- data/node_modules/codemirror/mode/rpm/rpm.js +109 -0
- data/node_modules/codemirror/mode/rst/rst.js +557 -0
- data/node_modules/codemirror/mode/ruby/ruby.js +296 -0
- data/node_modules/codemirror/mode/rust/rust.js +72 -0
- data/node_modules/codemirror/mode/sas/sas.js +303 -0
- data/node_modules/codemirror/mode/sass/sass.js +454 -0
- data/node_modules/codemirror/mode/scheme/scheme.js +265 -0
- data/node_modules/codemirror/mode/shell/shell.js +152 -0
- data/node_modules/codemirror/mode/sieve/sieve.js +193 -0
- data/node_modules/codemirror/mode/slim/slim.js +575 -0
- data/node_modules/codemirror/mode/smalltalk/smalltalk.js +168 -0
- data/node_modules/codemirror/mode/smarty/smarty.js +225 -0
- data/node_modules/codemirror/mode/solr/solr.js +104 -0
- data/node_modules/codemirror/mode/soy/soy 2.js +359 -0
- data/node_modules/codemirror/mode/soy/soy.js +235 -0
- data/node_modules/codemirror/mode/sparql/sparql.js +180 -0
- data/node_modules/codemirror/mode/spreadsheet/spreadsheet.js +112 -0
- data/node_modules/codemirror/mode/sql/sql.js +499 -0
- data/node_modules/codemirror/mode/stex/stex.js +264 -0
- data/node_modules/codemirror/mode/stylus/stylus.js +771 -0
- data/node_modules/codemirror/mode/swift/swift.js +219 -0
- data/node_modules/codemirror/mode/tcl/tcl.js +139 -0
- data/node_modules/codemirror/mode/textile/textile.js +469 -0
- data/node_modules/codemirror/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/node_modules/codemirror/mode/tiddlywiki/tiddlywiki.js +308 -0
- data/node_modules/codemirror/mode/tiki/tiki.css +26 -0
- data/node_modules/codemirror/mode/tiki/tiki.js +312 -0
- data/node_modules/codemirror/mode/toml/toml.js +88 -0
- data/node_modules/codemirror/mode/tornado/tornado.js +68 -0
- data/node_modules/codemirror/mode/troff/troff.js +84 -0
- data/node_modules/codemirror/mode/ttcn-cfg/ttcn-cfg.js +214 -0
- data/node_modules/codemirror/mode/ttcn/ttcn.js +283 -0
- data/node_modules/codemirror/mode/turtle/turtle.js +162 -0
- data/node_modules/codemirror/mode/twig/twig.js +141 -0
- data/node_modules/codemirror/mode/vb/vb.js +275 -0
- data/node_modules/codemirror/mode/vbscript/vbscript.js +350 -0
- data/node_modules/codemirror/mode/velocity/velocity.js +201 -0
- data/node_modules/codemirror/mode/verilog/verilog.js +675 -0
- data/node_modules/codemirror/mode/vhdl/vhdl.js +189 -0
- data/node_modules/codemirror/mode/vue/vue.js +77 -0
- data/node_modules/codemirror/mode/webidl/webidl.js +195 -0
- data/node_modules/codemirror/mode/xml/xml.js +402 -0
- data/node_modules/codemirror/mode/xquery/xquery.js +448 -0
- data/node_modules/codemirror/mode/yacas/yacas.js +204 -0
- data/node_modules/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js +68 -0
- data/node_modules/codemirror/mode/yaml/yaml.js +120 -0
- data/node_modules/codemirror/mode/z80/z80.js +116 -0
- data/node_modules/codemirror/package.json +2395 -0
- data/node_modules/codemirror/rollup.config.js +20 -0
- data/node_modules/codemirror/src/codemirror.js +3 -0
- data/node_modules/codemirror/src/display/Display.js +106 -0
- data/node_modules/codemirror/src/display/focus.js +47 -0
- data/node_modules/codemirror/src/display/gutters.js +34 -0
- data/node_modules/codemirror/src/display/highlight_worker.js +55 -0
- data/node_modules/codemirror/src/display/line_numbers.js +48 -0
- data/node_modules/codemirror/src/display/mode_state.js +22 -0
- data/node_modules/codemirror/src/display/operations.js +205 -0
- data/node_modules/codemirror/src/display/scroll_events.js +115 -0
- data/node_modules/codemirror/src/display/scrollbars.js +193 -0
- data/node_modules/codemirror/src/display/scrolling.js +184 -0
- data/node_modules/codemirror/src/display/selection.js +158 -0
- data/node_modules/codemirror/src/display/update_display.js +260 -0
- data/node_modules/codemirror/src/display/update_line.js +188 -0
- data/node_modules/codemirror/src/display/update_lines.js +64 -0
- data/node_modules/codemirror/src/display/view_tracking.js +153 -0
- data/node_modules/codemirror/src/edit/CodeMirror.js +215 -0
- data/node_modules/codemirror/src/edit/commands.js +178 -0
- data/node_modules/codemirror/src/edit/deleteNearSelection.js +30 -0
- data/node_modules/codemirror/src/edit/drop_events.js +119 -0
- data/node_modules/codemirror/src/edit/fromTextArea.js +61 -0
- data/node_modules/codemirror/src/edit/global_events.js +42 -0
- data/node_modules/codemirror/src/edit/key_events.js +159 -0
- data/node_modules/codemirror/src/edit/legacy.js +62 -0
- data/node_modules/codemirror/src/edit/main.js +69 -0
- data/node_modules/codemirror/src/edit/methods.js +544 -0
- data/node_modules/codemirror/src/edit/mouse_events.js +407 -0
- data/node_modules/codemirror/src/edit/options.js +193 -0
- data/node_modules/codemirror/src/edit/utils.js +7 -0
- data/node_modules/codemirror/src/input/ContentEditableInput.js +527 -0
- data/node_modules/codemirror/src/input/TextareaInput.js +355 -0
- data/node_modules/codemirror/src/input/indent.js +71 -0
- data/node_modules/codemirror/src/input/input.js +135 -0
- data/node_modules/codemirror/src/input/keymap.js +148 -0
- data/node_modules/codemirror/src/input/keynames.js +17 -0
- data/node_modules/codemirror/src/input/movement.js +110 -0
- data/node_modules/codemirror/src/line/highlight.js +284 -0
- data/node_modules/codemirror/src/line/line_data.js +339 -0
- data/node_modules/codemirror/src/line/pos.js +40 -0
- data/node_modules/codemirror/src/line/saw_special_spans.js +10 -0
- data/node_modules/codemirror/src/line/spans.js +382 -0
- data/node_modules/codemirror/src/line/utils_line.js +85 -0
- data/node_modules/codemirror/src/measurement/position_measurement.js +699 -0
- data/node_modules/codemirror/src/measurement/widgets.js +26 -0
- data/node_modules/codemirror/src/model/Doc.js +432 -0
- data/node_modules/codemirror/src/model/change_measurement.js +61 -0
- data/node_modules/codemirror/src/model/changes.js +333 -0
- data/node_modules/codemirror/src/model/chunk.js +167 -0
- data/node_modules/codemirror/src/model/document_data.js +111 -0
- data/node_modules/codemirror/src/model/history.js +228 -0
- data/node_modules/codemirror/src/model/line_widget.js +78 -0
- data/node_modules/codemirror/src/model/mark_text.js +292 -0
- data/node_modules/codemirror/src/model/selection.js +84 -0
- data/node_modules/codemirror/src/model/selection_updates.js +208 -0
- data/node_modules/codemirror/src/modes.js +96 -0
- data/node_modules/codemirror/src/util/StringStream.js +90 -0
- data/node_modules/codemirror/src/util/bidi.js +214 -0
- data/node_modules/codemirror/src/util/browser.js +33 -0
- data/node_modules/codemirror/src/util/dom.js +97 -0
- data/node_modules/codemirror/src/util/event.js +103 -0
- data/node_modules/codemirror/src/util/feature_detection.js +84 -0
- data/node_modules/codemirror/src/util/misc.js +150 -0
- data/node_modules/codemirror/src/util/operation_group.js +72 -0
- data/node_modules/codemirror/theme/3024-day.css +41 -0
- data/node_modules/codemirror/theme/3024-night.css +39 -0
- data/node_modules/codemirror/theme/abcdef.css +32 -0
- data/node_modules/codemirror/theme/ambiance-mobile.css +5 -0
- data/node_modules/codemirror/theme/ambiance.css +74 -0
- data/node_modules/codemirror/theme/base16-dark.css +38 -0
- data/node_modules/codemirror/theme/base16-light.css +38 -0
- data/node_modules/codemirror/theme/bespin.css +34 -0
- data/node_modules/codemirror/theme/blackboard.css +32 -0
- data/node_modules/codemirror/theme/cobalt.css +25 -0
- data/node_modules/codemirror/theme/colorforth.css +33 -0
- data/node_modules/codemirror/theme/darcula.css +46 -0
- data/node_modules/codemirror/theme/dracula.css +40 -0
- data/node_modules/codemirror/theme/duotone-dark.css +35 -0
- data/node_modules/codemirror/theme/duotone-light.css +36 -0
- data/node_modules/codemirror/theme/eclipse.css +23 -0
- data/node_modules/codemirror/theme/elegant.css +13 -0
- data/node_modules/codemirror/theme/erlang-dark.css +34 -0
- data/node_modules/codemirror/theme/gruvbox-dark.css +37 -0
- data/node_modules/codemirror/theme/hopscotch.css +34 -0
- data/node_modules/codemirror/theme/icecoder.css +43 -0
- data/node_modules/codemirror/theme/idea.css +42 -0
- data/node_modules/codemirror/theme/isotope.css +34 -0
- data/node_modules/codemirror/theme/lesser-dark.css +47 -0
- data/node_modules/codemirror/theme/liquibyte.css +95 -0
- data/node_modules/codemirror/theme/lucario.css +37 -0
- data/node_modules/codemirror/theme/material.css +53 -0
- data/node_modules/codemirror/theme/mbo.css +37 -0
- data/node_modules/codemirror/theme/mdn-like.css +46 -0
- data/node_modules/codemirror/theme/midnight.css +43 -0
- data/node_modules/codemirror/theme/monokai.css +41 -0
- data/node_modules/codemirror/theme/neat.css +12 -0
- data/node_modules/codemirror/theme/neo.css +43 -0
- data/node_modules/codemirror/theme/night.css +27 -0
- data/node_modules/codemirror/theme/oceanic-next.css +44 -0
- data/node_modules/codemirror/theme/panda-syntax.css +85 -0
- data/node_modules/codemirror/theme/paraiso-dark.css +38 -0
- data/node_modules/codemirror/theme/paraiso-light.css +38 -0
- data/node_modules/codemirror/theme/pastel-on-dark.css +52 -0
- data/node_modules/codemirror/theme/railscasts.css +34 -0
- data/node_modules/codemirror/theme/rubyblue.css +25 -0
- data/node_modules/codemirror/theme/seti.css +44 -0
- data/node_modules/codemirror/theme/shadowfox.css +52 -0
- data/node_modules/codemirror/theme/solarized.css +168 -0
- data/node_modules/codemirror/theme/ssms.css +16 -0
- data/node_modules/codemirror/theme/the-matrix.css +30 -0
- data/node_modules/codemirror/theme/tomorrow-night-bright.css +35 -0
- data/node_modules/codemirror/theme/tomorrow-night-eighties.css +38 -0
- data/node_modules/codemirror/theme/ttcn.css +64 -0
- data/node_modules/codemirror/theme/twilight.css +32 -0
- data/node_modules/codemirror/theme/vibrant-ink.css +34 -0
- data/node_modules/codemirror/theme/xq-dark.css +53 -0
- data/node_modules/codemirror/theme/xq-light.css +43 -0
- data/node_modules/codemirror/theme/yeti.css +44 -0
- data/node_modules/codemirror/theme/zenburn.css +37 -0
- data/node_modules/marked/.editorconfig +16 -0
- data/node_modules/marked/.eslintignore +1 -0
- data/node_modules/marked/.eslintrc.json +28 -0
- data/node_modules/marked/.package 2.json.icloud +0 -0
- data/node_modules/marked/.travis.yml +47 -0
- data/node_modules/marked/Makefile +15 -0
- data/node_modules/marked/Makefile 2 +15 -0
- data/node_modules/marked/README 2.md +75 -0
- data/node_modules/marked/README.md +75 -0
- data/node_modules/marked/bin/marked +199 -0
- data/node_modules/marked/bower.json +23 -0
- data/node_modules/marked/component.json +10 -0
- data/node_modules/marked/index.js +1 -0
- data/node_modules/marked/jasmine.json +11 -0
- data/node_modules/marked/lib/marked 2.js +1604 -0
- data/node_modules/marked/lib/marked.js +1604 -0
- data/node_modules/marked/man/marked.1 +91 -0
- data/node_modules/marked/man/marked.1.txt +96 -0
- data/node_modules/marked/marked.min.js +6 -0
- data/node_modules/marked/package.json +95 -0
- data/node_modules/simplemde/.eslintrc +23 -0
- data/node_modules/simplemde/.npmignore +9 -0
- data/node_modules/simplemde/.travis.yml +18 -0
- data/node_modules/simplemde/CONTRIBUTING 2.md +10 -0
- data/node_modules/simplemde/CONTRIBUTING.md +10 -0
- data/node_modules/simplemde/LICENSE +22 -0
- data/node_modules/simplemde/README.md +331 -0
- data/node_modules/simplemde/bower.json +23 -0
- data/node_modules/simplemde/debug/.simplemde 2.css.icloud +0 -0
- data/node_modules/simplemde/debug/simplemde.css +676 -0
- data/node_modules/simplemde/debug/simplemde.debug.js +17023 -0
- data/node_modules/simplemde/debug/simplemde.js +17019 -0
- data/node_modules/simplemde/dist/simplemde.min.css +7 -0
- data/node_modules/simplemde/dist/simplemde.min.js +15 -0
- data/node_modules/simplemde/gulpfile.js +96 -0
- data/node_modules/simplemde/package.json +73 -0
- data/node_modules/simplemde/src/css/simplemde.css +328 -0
- data/node_modules/simplemde/src/js/codemirror/tablist 2.js +44 -0
- data/node_modules/simplemde/src/js/codemirror/tablist.js +44 -0
- data/node_modules/simplemde/src/js/simplemde.js +2028 -0
- data/node_modules/typo-js/README.md +45 -0
- data/node_modules/typo-js/dictionaries/en_US/.en_US 2.dic.icloud +0 -0
- data/node_modules/typo-js/dictionaries/en_US/README.md +7 -0
- data/node_modules/typo-js/dictionaries/en_US/en_US.aff +201 -0
- data/node_modules/typo-js/dictionaries/en_US/en_US.dic +62120 -0
- data/node_modules/typo-js/package.json +56 -0
- data/node_modules/typo-js/typo.js +931 -0
- data/package-lock.json +40 -0
- data/package.json +7 -0
- metadata +557 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"name": "simplemde",
|
3
|
+
"version": "1.11.2",
|
4
|
+
"homepage": "https://github.com/NextStepWebs/simplemde-markdown-editor",
|
5
|
+
"authors": [
|
6
|
+
"Wes Cossick <https://wescossick.com>"
|
7
|
+
],
|
8
|
+
"description": "A simple, beautiful, and embeddable JavaScript Markdown editor.",
|
9
|
+
"main": ["src/js/simplemde.js", "src/css/simplemde.css"],
|
10
|
+
"keywords": [
|
11
|
+
"embeddable",
|
12
|
+
"markdown",
|
13
|
+
"editor",
|
14
|
+
"javascript",
|
15
|
+
"wysiwyg"
|
16
|
+
],
|
17
|
+
"license": "MIT",
|
18
|
+
"ignore": [
|
19
|
+
"**/.*",
|
20
|
+
"node_modules",
|
21
|
+
"bower_components"
|
22
|
+
]
|
23
|
+
}
|
Binary file
|
@@ -0,0 +1,676 @@
|
|
1
|
+
/**
|
2
|
+
* simplemde v1.11.2
|
3
|
+
* Copyright Next Step Webs, Inc.
|
4
|
+
* @link https://github.com/NextStepWebs/simplemde-markdown-editor
|
5
|
+
* @license MIT
|
6
|
+
*/
|
7
|
+
/* BASICS */
|
8
|
+
|
9
|
+
.CodeMirror {
|
10
|
+
/* Set height, width, borders, and global font properties here */
|
11
|
+
font-family: monospace;
|
12
|
+
height: 300px;
|
13
|
+
color: black;
|
14
|
+
}
|
15
|
+
|
16
|
+
/* PADDING */
|
17
|
+
|
18
|
+
.CodeMirror-lines {
|
19
|
+
padding: 4px 0; /* Vertical padding around content */
|
20
|
+
}
|
21
|
+
.CodeMirror pre {
|
22
|
+
padding: 0 4px; /* Horizontal padding of content */
|
23
|
+
}
|
24
|
+
|
25
|
+
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
26
|
+
background-color: white; /* The little square between H and V scrollbars */
|
27
|
+
}
|
28
|
+
|
29
|
+
/* GUTTER */
|
30
|
+
|
31
|
+
.CodeMirror-gutters {
|
32
|
+
border-right: 1px solid #ddd;
|
33
|
+
background-color: #f7f7f7;
|
34
|
+
white-space: nowrap;
|
35
|
+
}
|
36
|
+
.CodeMirror-linenumbers {}
|
37
|
+
.CodeMirror-linenumber {
|
38
|
+
padding: 0 3px 0 5px;
|
39
|
+
min-width: 20px;
|
40
|
+
text-align: right;
|
41
|
+
color: #999;
|
42
|
+
white-space: nowrap;
|
43
|
+
}
|
44
|
+
|
45
|
+
.CodeMirror-guttermarker { color: black; }
|
46
|
+
.CodeMirror-guttermarker-subtle { color: #999; }
|
47
|
+
|
48
|
+
/* CURSOR */
|
49
|
+
|
50
|
+
.CodeMirror-cursor {
|
51
|
+
border-left: 1px solid black;
|
52
|
+
border-right: none;
|
53
|
+
width: 0;
|
54
|
+
}
|
55
|
+
/* Shown when moving in bi-directional text */
|
56
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
57
|
+
border-left: 1px solid silver;
|
58
|
+
}
|
59
|
+
.cm-fat-cursor .CodeMirror-cursor {
|
60
|
+
width: auto;
|
61
|
+
border: 0 !important;
|
62
|
+
background: #7e7;
|
63
|
+
}
|
64
|
+
.cm-fat-cursor div.CodeMirror-cursors {
|
65
|
+
z-index: 1;
|
66
|
+
}
|
67
|
+
|
68
|
+
.cm-animate-fat-cursor {
|
69
|
+
width: auto;
|
70
|
+
border: 0;
|
71
|
+
-webkit-animation: blink 1.06s steps(1) infinite;
|
72
|
+
-moz-animation: blink 1.06s steps(1) infinite;
|
73
|
+
animation: blink 1.06s steps(1) infinite;
|
74
|
+
background-color: #7e7;
|
75
|
+
}
|
76
|
+
@-moz-keyframes blink {
|
77
|
+
0% {}
|
78
|
+
50% { background-color: transparent; }
|
79
|
+
100% {}
|
80
|
+
}
|
81
|
+
@-webkit-keyframes blink {
|
82
|
+
0% {}
|
83
|
+
50% { background-color: transparent; }
|
84
|
+
100% {}
|
85
|
+
}
|
86
|
+
@keyframes blink {
|
87
|
+
0% {}
|
88
|
+
50% { background-color: transparent; }
|
89
|
+
100% {}
|
90
|
+
}
|
91
|
+
|
92
|
+
/* Can style cursor different in overwrite (non-insert) mode */
|
93
|
+
.CodeMirror-overwrite .CodeMirror-cursor {}
|
94
|
+
|
95
|
+
.cm-tab { display: inline-block; text-decoration: inherit; }
|
96
|
+
|
97
|
+
.CodeMirror-ruler {
|
98
|
+
border-left: 1px solid #ccc;
|
99
|
+
position: absolute;
|
100
|
+
}
|
101
|
+
|
102
|
+
/* DEFAULT THEME */
|
103
|
+
|
104
|
+
.cm-s-default .cm-header {color: blue;}
|
105
|
+
.cm-s-default .cm-quote {color: #090;}
|
106
|
+
.cm-negative {color: #d44;}
|
107
|
+
.cm-positive {color: #292;}
|
108
|
+
.cm-header, .cm-strong {font-weight: bold;}
|
109
|
+
.cm-em {font-style: italic;}
|
110
|
+
.cm-link {text-decoration: underline;}
|
111
|
+
.cm-strikethrough {text-decoration: line-through;}
|
112
|
+
|
113
|
+
.cm-s-default .cm-keyword {color: #708;}
|
114
|
+
.cm-s-default .cm-atom {color: #219;}
|
115
|
+
.cm-s-default .cm-number {color: #164;}
|
116
|
+
.cm-s-default .cm-def {color: #00f;}
|
117
|
+
.cm-s-default .cm-variable,
|
118
|
+
.cm-s-default .cm-punctuation,
|
119
|
+
.cm-s-default .cm-property,
|
120
|
+
.cm-s-default .cm-operator {}
|
121
|
+
.cm-s-default .cm-variable-2 {color: #05a;}
|
122
|
+
.cm-s-default .cm-variable-3 {color: #085;}
|
123
|
+
.cm-s-default .cm-comment {color: #a50;}
|
124
|
+
.cm-s-default .cm-string {color: #a11;}
|
125
|
+
.cm-s-default .cm-string-2 {color: #f50;}
|
126
|
+
.cm-s-default .cm-meta {color: #555;}
|
127
|
+
.cm-s-default .cm-qualifier {color: #555;}
|
128
|
+
.cm-s-default .cm-builtin {color: #30a;}
|
129
|
+
.cm-s-default .cm-bracket {color: #997;}
|
130
|
+
.cm-s-default .cm-tag {color: #170;}
|
131
|
+
.cm-s-default .cm-attribute {color: #00c;}
|
132
|
+
.cm-s-default .cm-hr {color: #999;}
|
133
|
+
.cm-s-default .cm-link {color: #00c;}
|
134
|
+
|
135
|
+
.cm-s-default .cm-error {color: #f00;}
|
136
|
+
.cm-invalidchar {color: #f00;}
|
137
|
+
|
138
|
+
.CodeMirror-composing { border-bottom: 2px solid; }
|
139
|
+
|
140
|
+
/* Default styles for common addons */
|
141
|
+
|
142
|
+
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
|
143
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
|
144
|
+
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
145
|
+
.CodeMirror-activeline-background {background: #e8f2ff;}
|
146
|
+
|
147
|
+
/* STOP */
|
148
|
+
|
149
|
+
/* The rest of this file contains styles related to the mechanics of
|
150
|
+
the editor. You probably shouldn't touch them. */
|
151
|
+
|
152
|
+
.CodeMirror {
|
153
|
+
position: relative;
|
154
|
+
overflow: hidden;
|
155
|
+
background: white;
|
156
|
+
}
|
157
|
+
|
158
|
+
.CodeMirror-scroll {
|
159
|
+
overflow: scroll !important; /* Things will break if this is overridden */
|
160
|
+
/* 30px is the magic margin used to hide the element's real scrollbars */
|
161
|
+
/* See overflow: hidden in .CodeMirror */
|
162
|
+
margin-bottom: -30px; margin-right: -30px;
|
163
|
+
padding-bottom: 30px;
|
164
|
+
height: 100%;
|
165
|
+
outline: none; /* Prevent dragging from highlighting the element */
|
166
|
+
position: relative;
|
167
|
+
}
|
168
|
+
.CodeMirror-sizer {
|
169
|
+
position: relative;
|
170
|
+
border-right: 30px solid transparent;
|
171
|
+
}
|
172
|
+
|
173
|
+
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
174
|
+
before actual scrolling happens, thus preventing shaking and
|
175
|
+
flickering artifacts. */
|
176
|
+
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
177
|
+
position: absolute;
|
178
|
+
z-index: 6;
|
179
|
+
display: none;
|
180
|
+
}
|
181
|
+
.CodeMirror-vscrollbar {
|
182
|
+
right: 0; top: 0;
|
183
|
+
overflow-x: hidden;
|
184
|
+
overflow-y: scroll;
|
185
|
+
}
|
186
|
+
.CodeMirror-hscrollbar {
|
187
|
+
bottom: 0; left: 0;
|
188
|
+
overflow-y: hidden;
|
189
|
+
overflow-x: scroll;
|
190
|
+
}
|
191
|
+
.CodeMirror-scrollbar-filler {
|
192
|
+
right: 0; bottom: 0;
|
193
|
+
}
|
194
|
+
.CodeMirror-gutter-filler {
|
195
|
+
left: 0; bottom: 0;
|
196
|
+
}
|
197
|
+
|
198
|
+
.CodeMirror-gutters {
|
199
|
+
position: absolute; left: 0; top: 0;
|
200
|
+
min-height: 100%;
|
201
|
+
z-index: 3;
|
202
|
+
}
|
203
|
+
.CodeMirror-gutter {
|
204
|
+
white-space: normal;
|
205
|
+
height: 100%;
|
206
|
+
display: inline-block;
|
207
|
+
vertical-align: top;
|
208
|
+
margin-bottom: -30px;
|
209
|
+
/* Hack to make IE7 behave */
|
210
|
+
*zoom:1;
|
211
|
+
*display:inline;
|
212
|
+
}
|
213
|
+
.CodeMirror-gutter-wrapper {
|
214
|
+
position: absolute;
|
215
|
+
z-index: 4;
|
216
|
+
background: none !important;
|
217
|
+
border: none !important;
|
218
|
+
}
|
219
|
+
.CodeMirror-gutter-background {
|
220
|
+
position: absolute;
|
221
|
+
top: 0; bottom: 0;
|
222
|
+
z-index: 4;
|
223
|
+
}
|
224
|
+
.CodeMirror-gutter-elt {
|
225
|
+
position: absolute;
|
226
|
+
cursor: default;
|
227
|
+
z-index: 4;
|
228
|
+
}
|
229
|
+
.CodeMirror-gutter-wrapper {
|
230
|
+
-webkit-user-select: none;
|
231
|
+
-moz-user-select: none;
|
232
|
+
user-select: none;
|
233
|
+
}
|
234
|
+
|
235
|
+
.CodeMirror-lines {
|
236
|
+
cursor: text;
|
237
|
+
min-height: 1px; /* prevents collapsing before first draw */
|
238
|
+
}
|
239
|
+
.CodeMirror pre {
|
240
|
+
/* Reset some styles that the rest of the page might have set */
|
241
|
+
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
|
242
|
+
border-width: 0;
|
243
|
+
background: transparent;
|
244
|
+
font-family: inherit;
|
245
|
+
font-size: inherit;
|
246
|
+
margin: 0;
|
247
|
+
white-space: pre;
|
248
|
+
word-wrap: normal;
|
249
|
+
line-height: inherit;
|
250
|
+
color: inherit;
|
251
|
+
z-index: 2;
|
252
|
+
position: relative;
|
253
|
+
overflow: visible;
|
254
|
+
-webkit-tap-highlight-color: transparent;
|
255
|
+
-webkit-font-variant-ligatures: none;
|
256
|
+
font-variant-ligatures: none;
|
257
|
+
}
|
258
|
+
.CodeMirror-wrap pre {
|
259
|
+
word-wrap: break-word;
|
260
|
+
white-space: pre-wrap;
|
261
|
+
word-break: normal;
|
262
|
+
}
|
263
|
+
|
264
|
+
.CodeMirror-linebackground {
|
265
|
+
position: absolute;
|
266
|
+
left: 0; right: 0; top: 0; bottom: 0;
|
267
|
+
z-index: 0;
|
268
|
+
}
|
269
|
+
|
270
|
+
.CodeMirror-linewidget {
|
271
|
+
position: relative;
|
272
|
+
z-index: 2;
|
273
|
+
overflow: auto;
|
274
|
+
}
|
275
|
+
|
276
|
+
.CodeMirror-widget {}
|
277
|
+
|
278
|
+
.CodeMirror-code {
|
279
|
+
outline: none;
|
280
|
+
}
|
281
|
+
|
282
|
+
/* Force content-box sizing for the elements where we expect it */
|
283
|
+
.CodeMirror-scroll,
|
284
|
+
.CodeMirror-sizer,
|
285
|
+
.CodeMirror-gutter,
|
286
|
+
.CodeMirror-gutters,
|
287
|
+
.CodeMirror-linenumber {
|
288
|
+
-moz-box-sizing: content-box;
|
289
|
+
box-sizing: content-box;
|
290
|
+
}
|
291
|
+
|
292
|
+
.CodeMirror-measure {
|
293
|
+
position: absolute;
|
294
|
+
width: 100%;
|
295
|
+
height: 0;
|
296
|
+
overflow: hidden;
|
297
|
+
visibility: hidden;
|
298
|
+
}
|
299
|
+
|
300
|
+
.CodeMirror-cursor { position: absolute; }
|
301
|
+
.CodeMirror-measure pre { position: static; }
|
302
|
+
|
303
|
+
div.CodeMirror-cursors {
|
304
|
+
visibility: hidden;
|
305
|
+
position: relative;
|
306
|
+
z-index: 3;
|
307
|
+
}
|
308
|
+
div.CodeMirror-dragcursors {
|
309
|
+
visibility: visible;
|
310
|
+
}
|
311
|
+
|
312
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
313
|
+
visibility: visible;
|
314
|
+
}
|
315
|
+
|
316
|
+
.CodeMirror-selected { background: #d9d9d9; }
|
317
|
+
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
|
318
|
+
.CodeMirror-crosshair { cursor: crosshair; }
|
319
|
+
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
|
320
|
+
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }
|
321
|
+
|
322
|
+
.cm-searching {
|
323
|
+
background: #ffa;
|
324
|
+
background: rgba(255, 255, 0, .4);
|
325
|
+
}
|
326
|
+
|
327
|
+
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
|
328
|
+
.CodeMirror span { *vertical-align: text-bottom; }
|
329
|
+
|
330
|
+
/* Used to force a border model for a node */
|
331
|
+
.cm-force-border { padding-right: .1px; }
|
332
|
+
|
333
|
+
@media print {
|
334
|
+
/* Hide the cursor when printing */
|
335
|
+
.CodeMirror div.CodeMirror-cursors {
|
336
|
+
visibility: hidden;
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
/* See issue #2901 */
|
341
|
+
.cm-tab-wrap-hack:after { content: ''; }
|
342
|
+
|
343
|
+
/* Help users use markselection to safely style text background */
|
344
|
+
span.CodeMirror-selectedtext { background: none; }
|
345
|
+
|
346
|
+
.CodeMirror {
|
347
|
+
height: auto;
|
348
|
+
min-height: 300px;
|
349
|
+
border: 1px solid #ddd;
|
350
|
+
border-bottom-left-radius: 4px;
|
351
|
+
border-bottom-right-radius: 4px;
|
352
|
+
padding: 10px;
|
353
|
+
font: inherit;
|
354
|
+
z-index: 1;
|
355
|
+
}
|
356
|
+
|
357
|
+
.CodeMirror-scroll {
|
358
|
+
min-height: 300px
|
359
|
+
}
|
360
|
+
|
361
|
+
.CodeMirror-fullscreen {
|
362
|
+
background: #fff;
|
363
|
+
position: fixed !important;
|
364
|
+
top: 50px;
|
365
|
+
left: 0;
|
366
|
+
right: 0;
|
367
|
+
bottom: 0;
|
368
|
+
height: auto;
|
369
|
+
z-index: 9;
|
370
|
+
}
|
371
|
+
|
372
|
+
.CodeMirror-sided {
|
373
|
+
width: 50% !important;
|
374
|
+
}
|
375
|
+
|
376
|
+
.editor-toolbar {
|
377
|
+
position: relative;
|
378
|
+
opacity: .6;
|
379
|
+
-webkit-user-select: none;
|
380
|
+
-moz-user-select: none;
|
381
|
+
-ms-user-select: none;
|
382
|
+
-o-user-select: none;
|
383
|
+
user-select: none;
|
384
|
+
padding: 0 10px;
|
385
|
+
border-top: 1px solid #bbb;
|
386
|
+
border-left: 1px solid #bbb;
|
387
|
+
border-right: 1px solid #bbb;
|
388
|
+
border-top-left-radius: 4px;
|
389
|
+
border-top-right-radius: 4px;
|
390
|
+
}
|
391
|
+
|
392
|
+
.editor-toolbar:after,
|
393
|
+
.editor-toolbar:before {
|
394
|
+
display: block;
|
395
|
+
content: ' ';
|
396
|
+
height: 1px;
|
397
|
+
}
|
398
|
+
|
399
|
+
.editor-toolbar:before {
|
400
|
+
margin-bottom: 8px
|
401
|
+
}
|
402
|
+
|
403
|
+
.editor-toolbar:after {
|
404
|
+
margin-top: 8px
|
405
|
+
}
|
406
|
+
|
407
|
+
.editor-toolbar:hover,
|
408
|
+
.editor-wrapper input.title:focus,
|
409
|
+
.editor-wrapper input.title:hover {
|
410
|
+
opacity: .8
|
411
|
+
}
|
412
|
+
|
413
|
+
.editor-toolbar.fullscreen {
|
414
|
+
width: 100%;
|
415
|
+
height: 50px;
|
416
|
+
overflow-x: auto;
|
417
|
+
overflow-y: hidden;
|
418
|
+
white-space: nowrap;
|
419
|
+
padding-top: 10px;
|
420
|
+
padding-bottom: 10px;
|
421
|
+
box-sizing: border-box;
|
422
|
+
background: #fff;
|
423
|
+
border: 0;
|
424
|
+
position: fixed;
|
425
|
+
top: 0;
|
426
|
+
left: 0;
|
427
|
+
opacity: 1;
|
428
|
+
z-index: 9;
|
429
|
+
}
|
430
|
+
|
431
|
+
.editor-toolbar.fullscreen::before {
|
432
|
+
width: 20px;
|
433
|
+
height: 50px;
|
434
|
+
background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
|
435
|
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
|
436
|
+
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
|
437
|
+
background: -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
|
438
|
+
background: -ms-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
|
439
|
+
background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
|
440
|
+
position: fixed;
|
441
|
+
top: 0;
|
442
|
+
left: 0;
|
443
|
+
margin: 0;
|
444
|
+
padding: 0;
|
445
|
+
}
|
446
|
+
|
447
|
+
.editor-toolbar.fullscreen::after {
|
448
|
+
width: 20px;
|
449
|
+
height: 50px;
|
450
|
+
background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
|
451
|
+
background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 1)));
|
452
|
+
background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
|
453
|
+
background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
|
454
|
+
background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
|
455
|
+
background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
|
456
|
+
position: fixed;
|
457
|
+
top: 0;
|
458
|
+
right: 0;
|
459
|
+
margin: 0;
|
460
|
+
padding: 0;
|
461
|
+
}
|
462
|
+
|
463
|
+
.editor-toolbar a {
|
464
|
+
display: inline-block;
|
465
|
+
text-align: center;
|
466
|
+
text-decoration: none!important;
|
467
|
+
color: #2c3e50!important;
|
468
|
+
width: 30px;
|
469
|
+
height: 30px;
|
470
|
+
margin: 0;
|
471
|
+
border: 1px solid transparent;
|
472
|
+
border-radius: 3px;
|
473
|
+
cursor: pointer;
|
474
|
+
}
|
475
|
+
|
476
|
+
.editor-toolbar a.active,
|
477
|
+
.editor-toolbar a:hover {
|
478
|
+
background: #fcfcfc;
|
479
|
+
border-color: #95a5a6;
|
480
|
+
}
|
481
|
+
|
482
|
+
.editor-toolbar a:before {
|
483
|
+
line-height: 30px
|
484
|
+
}
|
485
|
+
|
486
|
+
.editor-toolbar i.separator {
|
487
|
+
display: inline-block;
|
488
|
+
width: 0;
|
489
|
+
border-left: 1px solid #d9d9d9;
|
490
|
+
border-right: 1px solid #fff;
|
491
|
+
color: transparent;
|
492
|
+
text-indent: -10px;
|
493
|
+
margin: 0 6px;
|
494
|
+
}
|
495
|
+
|
496
|
+
.editor-toolbar a.fa-header-x:after {
|
497
|
+
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
|
498
|
+
font-size: 65%;
|
499
|
+
vertical-align: text-bottom;
|
500
|
+
position: relative;
|
501
|
+
top: 2px;
|
502
|
+
}
|
503
|
+
|
504
|
+
.editor-toolbar a.fa-header-1:after {
|
505
|
+
content: "1";
|
506
|
+
}
|
507
|
+
|
508
|
+
.editor-toolbar a.fa-header-2:after {
|
509
|
+
content: "2";
|
510
|
+
}
|
511
|
+
|
512
|
+
.editor-toolbar a.fa-header-3:after {
|
513
|
+
content: "3";
|
514
|
+
}
|
515
|
+
|
516
|
+
.editor-toolbar a.fa-header-bigger:after {
|
517
|
+
content: "▲";
|
518
|
+
}
|
519
|
+
|
520
|
+
.editor-toolbar a.fa-header-smaller:after {
|
521
|
+
content: "▼";
|
522
|
+
}
|
523
|
+
|
524
|
+
.editor-toolbar.disabled-for-preview a:not(.no-disable) {
|
525
|
+
pointer-events: none;
|
526
|
+
background: #fff;
|
527
|
+
border-color: transparent;
|
528
|
+
text-shadow: inherit;
|
529
|
+
}
|
530
|
+
|
531
|
+
@media only screen and (max-width: 700px) {
|
532
|
+
.editor-toolbar a.no-mobile {
|
533
|
+
display: none;
|
534
|
+
}
|
535
|
+
}
|
536
|
+
|
537
|
+
.editor-statusbar {
|
538
|
+
padding: 8px 10px;
|
539
|
+
font-size: 12px;
|
540
|
+
color: #959694;
|
541
|
+
text-align: right;
|
542
|
+
}
|
543
|
+
|
544
|
+
.editor-statusbar span {
|
545
|
+
display: inline-block;
|
546
|
+
min-width: 4em;
|
547
|
+
margin-left: 1em;
|
548
|
+
}
|
549
|
+
|
550
|
+
.editor-statusbar .lines:before {
|
551
|
+
content: 'lines: '
|
552
|
+
}
|
553
|
+
|
554
|
+
.editor-statusbar .words:before {
|
555
|
+
content: 'words: '
|
556
|
+
}
|
557
|
+
|
558
|
+
.editor-statusbar .characters:before {
|
559
|
+
content: 'characters: '
|
560
|
+
}
|
561
|
+
|
562
|
+
.editor-preview {
|
563
|
+
padding: 10px;
|
564
|
+
position: absolute;
|
565
|
+
width: 100%;
|
566
|
+
height: 100%;
|
567
|
+
top: 0;
|
568
|
+
left: 0;
|
569
|
+
background: #fafafa;
|
570
|
+
z-index: 7;
|
571
|
+
overflow: auto;
|
572
|
+
display: none;
|
573
|
+
box-sizing: border-box;
|
574
|
+
}
|
575
|
+
|
576
|
+
.editor-preview-side {
|
577
|
+
padding: 10px;
|
578
|
+
position: fixed;
|
579
|
+
bottom: 0;
|
580
|
+
width: 50%;
|
581
|
+
top: 50px;
|
582
|
+
right: 0;
|
583
|
+
background: #fafafa;
|
584
|
+
z-index: 9;
|
585
|
+
overflow: auto;
|
586
|
+
display: none;
|
587
|
+
box-sizing: border-box;
|
588
|
+
border: 1px solid #ddd;
|
589
|
+
}
|
590
|
+
|
591
|
+
.editor-preview-active-side {
|
592
|
+
display: block
|
593
|
+
}
|
594
|
+
|
595
|
+
.editor-preview-active {
|
596
|
+
display: block
|
597
|
+
}
|
598
|
+
|
599
|
+
.editor-preview>p,
|
600
|
+
.editor-preview-side>p {
|
601
|
+
margin-top: 0
|
602
|
+
}
|
603
|
+
|
604
|
+
.editor-preview pre,
|
605
|
+
.editor-preview-side pre {
|
606
|
+
background: #eee;
|
607
|
+
margin-bottom: 10px;
|
608
|
+
}
|
609
|
+
|
610
|
+
.editor-preview table td,
|
611
|
+
.editor-preview table th,
|
612
|
+
.editor-preview-side table td,
|
613
|
+
.editor-preview-side table th {
|
614
|
+
border: 1px solid #ddd;
|
615
|
+
padding: 5px;
|
616
|
+
}
|
617
|
+
|
618
|
+
.CodeMirror .CodeMirror-code .cm-tag {
|
619
|
+
color: #63a35c;
|
620
|
+
}
|
621
|
+
|
622
|
+
.CodeMirror .CodeMirror-code .cm-attribute {
|
623
|
+
color: #795da3;
|
624
|
+
}
|
625
|
+
|
626
|
+
.CodeMirror .CodeMirror-code .cm-string {
|
627
|
+
color: #183691;
|
628
|
+
}
|
629
|
+
|
630
|
+
.CodeMirror .CodeMirror-selected {
|
631
|
+
background: #d9d9d9;
|
632
|
+
}
|
633
|
+
|
634
|
+
.CodeMirror .CodeMirror-code .cm-header-1 {
|
635
|
+
font-size: 200%;
|
636
|
+
line-height: 200%;
|
637
|
+
}
|
638
|
+
|
639
|
+
.CodeMirror .CodeMirror-code .cm-header-2 {
|
640
|
+
font-size: 160%;
|
641
|
+
line-height: 160%;
|
642
|
+
}
|
643
|
+
|
644
|
+
.CodeMirror .CodeMirror-code .cm-header-3 {
|
645
|
+
font-size: 125%;
|
646
|
+
line-height: 125%;
|
647
|
+
}
|
648
|
+
|
649
|
+
.CodeMirror .CodeMirror-code .cm-header-4 {
|
650
|
+
font-size: 110%;
|
651
|
+
line-height: 110%;
|
652
|
+
}
|
653
|
+
|
654
|
+
.CodeMirror .CodeMirror-code .cm-comment {
|
655
|
+
background: rgba(0, 0, 0, .05);
|
656
|
+
border-radius: 2px;
|
657
|
+
}
|
658
|
+
|
659
|
+
.CodeMirror .CodeMirror-code .cm-link {
|
660
|
+
color: #7f8c8d;
|
661
|
+
}
|
662
|
+
|
663
|
+
.CodeMirror .CodeMirror-code .cm-url {
|
664
|
+
color: #aab2b3;
|
665
|
+
}
|
666
|
+
|
667
|
+
.CodeMirror .CodeMirror-code .cm-strikethrough {
|
668
|
+
text-decoration: line-through;
|
669
|
+
}
|
670
|
+
|
671
|
+
.CodeMirror .CodeMirror-placeholder {
|
672
|
+
opacity: .5;
|
673
|
+
}
|
674
|
+
.CodeMirror .cm-spell-error:not(.cm-url):not(.cm-comment):not(.cm-tag):not(.cm-word) {
|
675
|
+
background: rgba(255, 0, 0, .15);
|
676
|
+
}
|