Sha256: 725858345726cdc690c404e197c3a5d0edfca69af010462a74f008978ff0f5e8
Contents?: true
Size: 974 Bytes
Versions: 35
Compression:
Stored size: 974 Bytes
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: "*ProseMirror+*self+*help", content: "Configure [[http://prosemirror.net|ProseMirror]], "\ "Wagn's default "\ "[[http://en.wikipedia.org/wiki/Wysiwyg|wysiwyg]] editor. "\ "[[http://wagn.org/ProseMirror|more]]" ) ensure_card name: "script: prosemirror", type_id: Card::JavaScriptID, codename: "script_prosemirror" ensure_card name: "script: prosemirror config", type_id: Card::CoffeeScriptID, codename: "script_prosemirror_config" end end
Version data entries
35 entries across 35 versions & 1 rubygems