card-mod-prosemirror_editor 0.13.1 → 0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -0
- data/set/all/prosemirror_editor.rb +3 -0
- data/set/self/prose_mirror.rb +8 -0
- data/set/self/style_prosemirror.rb +1 -1
- metadata +15 -22
- data/db/migrate_core_cards/20160804112548_add_prosemirror_cards.rb +0 -30
- data/set/self/script_prosemirror.rb +0 -3
- data/set/self/script_prosemirror_config.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba867bd64805b97f3fcac083b132dc4ba1e3afe76277f00e835f6f9c6a6a1bfe
|
4
|
+
data.tar.gz: 9cd0bf17f0e8c4e2013343d18393f6869de44ef70e5adc57ce6dcf0cfd58641f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f21e154f0687c855aba7069662c118c6132a48fe0da60d483c512db727083c51ba94ad9fb035311cbe1ac0e21912c902be27c25df52e9ff26c359c2eee18d0
|
7
|
+
data.tar.gz: a12f6d1ac4a9fe122c95b55b30bf4f8ffd702e0f57b573bb3b7fab1867f4dd67af50cb801113d3b7b041e513381c05654e773e8b9acc82a34f6d61709ec43283
|
data/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
<!--
|
2
|
+
# @title README - mod: Prosemirror editor
|
3
|
+
-->
|
4
|
+
|
5
|
+
# Prosemirror editor
|
6
|
+
|
7
|
+
Prosemirror is an embeddable code editor written in JavaScript. It can be used
|
8
|
+
as an alternative to the default tinyMCE editor.
|
9
|
+
|
10
|
+
## All cards
|
11
|
+
|
12
|
+
Adds `prosemirror editor` input type option.
|
13
|
+
|
14
|
+
## The "ProseMirror" card
|
15
|
+
|
16
|
+
| pattern | anchor | codename |
|
17
|
+
|:----:|:----:|:----:|
|
18
|
+
| Self | *ProseMirror | prose_mirror |
|
19
|
+
|
20
|
+
JSON card for configuring ProseMirror editor. See
|
21
|
+
https://prosemirror.net/docs/ref/.
|
metadata
CHANGED
@@ -1,45 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-prosemirror_editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.14'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Ethan McCutchen
|
8
7
|
- Philipp Kühl
|
9
|
-
-
|
8
|
+
- Ethan McCutchen
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2021-
|
12
|
+
date: 2021-10-26 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: card
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
|
-
- -
|
18
|
+
- - ">="
|
20
19
|
- !ruby/object:Gem::Version
|
21
|
-
version:
|
20
|
+
version: '0'
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
23
|
version_requirements: !ruby/object:Gem::Requirement
|
25
24
|
requirements:
|
26
|
-
- -
|
25
|
+
- - ">="
|
27
26
|
- !ruby/object:Gem::Version
|
28
|
-
version:
|
27
|
+
version: '0'
|
29
28
|
- !ruby/object:Gem::Dependency
|
30
29
|
name: card-mod-edit
|
31
30
|
requirement: !ruby/object:Gem::Requirement
|
32
31
|
requirements:
|
33
|
-
- -
|
32
|
+
- - ">="
|
34
33
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0
|
34
|
+
version: '0'
|
36
35
|
type: :runtime
|
37
36
|
prerelease: false
|
38
37
|
version_requirements: !ruby/object:Gem::Requirement
|
39
38
|
requirements:
|
40
|
-
- -
|
39
|
+
- - ">="
|
41
40
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0
|
41
|
+
version: '0'
|
43
42
|
description: ''
|
44
43
|
email:
|
45
44
|
- info@decko.org
|
@@ -47,22 +46,16 @@ executables: []
|
|
47
46
|
extensions: []
|
48
47
|
extra_rdoc_files: []
|
49
48
|
files:
|
50
|
-
-
|
49
|
+
- README.md
|
51
50
|
- file/mod_prosemirror_editor_script_local_machine_output/file.js
|
52
51
|
- lib/stylesheets/style_prosemirror.scss
|
53
52
|
- set/all/prosemirror_editor.rb
|
54
|
-
- set/self/
|
55
|
-
- set/self/script_prosemirror_config.rb
|
53
|
+
- set/self/prose_mirror.rb
|
56
54
|
- set/self/style_prosemirror.rb
|
57
|
-
homepage:
|
55
|
+
homepage: http://decko.org
|
58
56
|
licenses:
|
59
57
|
- GPL-3.0
|
60
58
|
metadata:
|
61
|
-
source_code_uri: https://github.com/decko-commons/decko
|
62
|
-
homepage_uri: https://decko.org
|
63
|
-
bug_tracker_uri: https://github.com/decko-commons/decko/issues
|
64
|
-
wiki_uri: https://decko.org
|
65
|
-
documentation_url: http://docs.decko.org/
|
66
59
|
card-mod: prosemirror_editor
|
67
60
|
post_install_message:
|
68
61
|
rdoc_options: []
|
@@ -79,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
72
|
- !ruby/object:Gem::Version
|
80
73
|
version: '0'
|
81
74
|
requirements: []
|
82
|
-
rubygems_version: 3.
|
75
|
+
rubygems_version: 3.2.28
|
83
76
|
signing_key:
|
84
77
|
specification_version: 4
|
85
78
|
summary: Prose Mirror editor
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# -*- encoding : utf-8 -*-
|
2
|
-
|
3
|
-
class AddProsemirrorCards < Cardio::Migration
|
4
|
-
PM_CONFIG = <<-JSON.strip_heredoc
|
5
|
-
{
|
6
|
-
"menuBar": true,
|
7
|
-
"tooltipMenu": false
|
8
|
-
}
|
9
|
-
JSON
|
10
|
-
def up
|
11
|
-
ensure_card name: "*ProseMirror", type_id: Card::PlainTextID,
|
12
|
-
codename: "prose_mirror",
|
13
|
-
content: PM_CONFIG
|
14
|
-
create_or_update name: "*ProseMirrorz+*self+*help", content: pm_help
|
15
|
-
ensure_card name: "script: prosemirror", type_id: Card::JavaScriptID,
|
16
|
-
codename: "script_prosemirror"
|
17
|
-
ensure_card name: "style: prosemirror", type_id: Card::ScssID,
|
18
|
-
codename: "style_prosemirror"
|
19
|
-
ensure_card name: "script: prosemirror config",
|
20
|
-
type_id: Card::CoffeeScriptID,
|
21
|
-
codename: "script_prosemirror_config"
|
22
|
-
end
|
23
|
-
|
24
|
-
def pm_help
|
25
|
-
"Configure [[http://prosemirror.net|ProseMirror]], "\
|
26
|
-
"Decko's default "\
|
27
|
-
"[[http://en.wikipedia.org/wiki/Wysiwyg|wysiwyg]] editor. "\
|
28
|
-
"[[https://decko.org/ProseMirror|more]]"
|
29
|
-
end
|
30
|
-
end
|