Sha256: 026c889eb198803344f31d17ff73a4fa72634b14b81c1f5b9a103d3206cae176
Contents?: true
Size: 1.05 KB
Versions: 21
Compression:
Stored size: 1.05 KB
Contents
# -*- encoding : utf-8 -*- class AddProsemirrorCards < Card::Migration PM_CONFIG = <<-JSON.strip_heredoc { "menuBar": true, "tooltipMenu": false } JSON def up ensure_card name: "*ProseMirror", type_id: Card::PlainTextID, codename: "prose_mirror", content: PM_CONFIG create_or_update name: "*ProseMirrorz+*self+*help", content: pm_help ensure_card name: "script: prosemirror", type_id: Card::JavaScriptID, codename: "script_prosemirror" ensure_card name: "style: prosemirror", type_id: Card::ScssID, codename: "style_prosemirror" ensure_card name: "script: prosemirror config", type_id: Card::CoffeeScriptID, codename: "script_prosemirror_config" end def pm_help "Configure [[http://prosemirror.net|ProseMirror]], "\ "Decko's default "\ "[[http://en.wikipedia.org/wiki/Wysiwyg|wysiwyg]] editor. "\ "[[https://decko.org/ProseMirror|more]]" end end
Version data entries
21 entries across 21 versions & 2 rubygems