tiptap-ruby 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/tip_tap/document.rb +6 -0
- data/lib/tip_tap/nodes/text.rb +1 -1
- data/lib/tip_tap/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93d68f02438c4ba6923219a2f95d4f9fcc467004ce1cb707566b4c722ea59b95
|
4
|
+
data.tar.gz: a396fcf21122fddd2d8715b6377de9434ee0e7a65db219d0f902628cfbd363c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19eeba23f4e4ba545c11ce11e596c41075088e40a84333fc25662fe37db2352aa5db72c1ea6c8a316fe6af6928c185299bd778c7e2571773850ac30a0553d4be
|
7
|
+
data.tar.gz: 45969d42781b4349bd686e3350be83ffacb2c109b9d798994cd9a5fae62e61e920102b81f340bb02394242c6c8e788ebc04dc508ea533a7ca50824725d790ad1
|
data/CHANGELOG.md
CHANGED
data/lib/tip_tap/document.rb
CHANGED
@@ -32,6 +32,12 @@ module TipTap
|
|
32
32
|
add_content(Nodes::BulletList.new(&block))
|
33
33
|
end
|
34
34
|
|
35
|
+
def ordered_list(&block)
|
36
|
+
raise ArgumentError, "Block required" if block.nil?
|
37
|
+
|
38
|
+
add_content(Nodes::OrderedList.new(&block))
|
39
|
+
end
|
40
|
+
|
35
41
|
def image(src:)
|
36
42
|
add_content(Nodes::Image.new(src: src))
|
37
43
|
end
|
data/lib/tip_tap/nodes/text.rb
CHANGED
data/lib/tip_tap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tiptap-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Wilken
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
102
|
+
rubygems_version: 3.5.16
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Parse, generate and render TipTap documents in Ruby.
|