Commit Graph

98 Commits

Author SHA1 Message Date
Philipp Kühn
0c3a8d3888 update dependencies 2019-08-20 15:55:21 +02:00
Philipp Kühn
d5c08c8876 Publish
- tiptap-commands@1.10.12
 - tiptap-extensions@1.26.1
 - tiptap-utils@1.6.1
 - tiptap@1.24.1
2019-08-07 12:22:13 +02:00
Philipp Kühn
28d325c696 update dependencies 2019-08-07 12:21:01 +02:00
Philipp Kühn
e200c719d1 Publish
- tiptap-commands@1.10.11
 - tiptap-extensions@1.25.0
 - tiptap-utils@1.6.0
 - tiptap@1.23.5
2019-07-23 19:53:50 +02:00
Philipp Kühn
afd959be6c Publish
- tiptap-commands@1.10.10
 - tiptap-extensions@1.24.3
 - tiptap-utils@1.5.8
 - tiptap@1.23.3
2019-07-19 23:49:21 +02:00
Philipp Kühn
526f11363d update dependencies 2019-07-19 23:48:00 +02:00
Philipp Kühn
8c5926e7c7 Publish
- tiptap-commands@1.10.9
 - tiptap-extensions@1.24.1
 - tiptap-utils@1.5.7
 - tiptap@1.23.1
2019-07-10 09:27:54 +02:00
Philipp Kühn
34f4ac75a9 update dependencies 2019-07-10 08:46:10 +02:00
Philipp Kühn
cd485bba16 Publish
- tiptap-commands@1.10.8
 - tiptap-extensions@1.22.3
 - tiptap-utils@1.5.6
 - tiptap@1.22.3
2019-06-12 22:31:50 +02:00
Philipp Kühn
e44f0a2255 update dependencies 2019-06-12 21:43:59 +02:00
Philipp Kühn
d2e454dddd Publish
- tiptap-commands@1.10.7
 - tiptap-extensions@1.21.0
 - tiptap-utils@1.5.5
 - tiptap@1.21.1
2019-06-04 22:46:09 +02:00
Philipp Kühn
e7513793dd update dependencies 2019-06-04 21:55:38 +02:00
Philipp Kühn
92c4e0457c Publish
- tiptap-commands@1.10.6
 - tiptap-extensions@1.20.2
 - tiptap-utils@1.5.4
 - tiptap@1.21.0
2019-05-31 12:04:11 +02:00
Philipp Kühn
85e3710131 update dependencies 2019-05-31 12:01:41 +02:00
Philipp Kühn
17c06eac80 Publish
- tiptap-commands@1.10.5
 - tiptap-extensions@1.19.9
 - tiptap-utils@1.5.3
 - tiptap@1.19.8
2019-05-20 20:52:03 +02:00
Philipp Kühn
3102d00a62 update dependencies 2019-05-20 20:48:21 +02:00
Philipp Kühn
5463da5807 add missing peer dependency 2019-05-20 19:58:20 +02:00
Philipp Kühn
a4279f5762 code style 2019-05-20 19:58:11 +02:00
Philipp Kühn
aeb1b3f8b8
Merge pull request #317 from Chrissi2812/issue-4
toggle between unordered_list and ordered_list
2019-05-20 19:54:32 +02:00
Chrissi2812
2291c699ad
only lift list_item if we are currently in a list
this allows to use lists in blockquotes that are in another list.
2019-05-20 15:44:11 +02:00
Chrissi2812
a0dae562c2
prevents invalid content in toggleList
This will skip the replace step for invalid content and instead inserts a new list of selected type
2019-05-20 15:40:31 +02:00
Chrissi2812
670936a160
moved liftListItem and wrapInList methods in conditional block
this makes more sense because both functions are only called once and can't be chained as I initially thought.
2019-05-20 15:00:19 +02:00
Chrissi2812
a6baa66e89
fixed todo_lists in toggleList method 2019-05-20 14:54:25 +02:00
Chrissi2812
6cb1c0436b
use findParentNode to find parent list instead of arbitary offsets 2019-05-20 14:30:40 +02:00
Chrissi2812
ac89ca404a
fixed offset problems with toggleList 2019-05-20 12:05:11 +02:00
Chrissi2812
a24fdac9f7
toggle between unordered_list and ordered_list 2019-05-17 15:50:59 +02:00
Philipp Kühn
78e6b703ff Publish
- tiptap-commands@1.10.4
 - tiptap-extensions@1.19.5
 - tiptap@1.19.4
2019-05-17 12:18:47 +02:00
Philipp Kühn
2081aa75a7 fix inline code input rule 2019-05-17 12:15:55 +02:00
Philipp Kühn
43c29770d8 update dependencies 2019-05-17 12:02:15 +02:00
Philipp Kühn
44a376704b update dependencies 2019-05-17 11:31:06 +02:00
Philipp Kühn
ee96e5591b check exclued marks in markInputRule 2019-05-17 11:26:05 +02:00
Philipp Kühn
5c9f121115 Publish
- tiptap-commands@1.10.3
 - tiptap-extensions@1.19.4
 - tiptap@1.19.3
2019-05-15 23:13:25 +02:00
Philipp Kühn
ac6b7dc5ca update dependencies 2019-05-15 22:02:54 +02:00
Philipp Kühn
e881d0a6a4 Publish
- tiptap-commands@1.10.2
 - tiptap-extensions@1.19.2
 - tiptap-utils@1.5.2
 - tiptap@1.19.2
2019-05-13 13:04:19 +02:00
Philipp Kühn
a49a6314d7 Publish
- tiptap-commands@1.10.1
 - tiptap-extensions@1.19.1
 - tiptap-utils@1.5.1
 - tiptap@1.19.1
2019-05-10 15:47:09 +02:00
Philipp Kühn
7b0de21a3a Publish
- tiptap-commands@1.10.0
 - tiptap-extensions@1.19.0
 - tiptap-utils@1.5.0
 - tiptap@1.19.0
2019-05-09 10:55:49 +02:00
Philipp Kühn
8080ae2d43 update dependencies 2019-05-09 10:46:41 +02:00
Philipp Kühn
3ce10e74b1
Merge pull request #286 from StickyKnow/fix-258-paste-link
do not transform text of pasted links
2019-05-09 10:34:13 +02:00
Philipp Kühn
4c6ec7a231
Merge pull request #285 from StickyKnow/fix-italic-rules
fix pasteRules and InputRules for italic mark
2019-05-09 10:33:21 +02:00
Christoph Flathmann
5d2fac08f1
Merge branch 'master' into issue-232 2019-05-08 13:34:12 +02:00
Chrissi2812
f81f07ad65
add missing import statements to splitToDefaultListItem 2019-05-08 13:24:56 +02:00
Marius Tolzmann
5bac4a1e33 add comment clarifying why match index hast to be length -1
i verified that the actual transaction does not contain the last matching char

tr.doc.textBetween(start, end+1)  will miss the triggering char at the end
2019-05-07 23:58:53 +02:00
Marius Tolzmann
98cf0e425a fix markInputRules for italics mark
add another layer of matching by introducing support for second match group
since javascript (at least in current browsers) still lacks lookbehind in regex

so now supports

/nomatch(markstart(text)markend)nomatch/ and still supports the
/markstart(text)markend/ syntax

all `nomatch` will be kept as is so kindof simulating lookbehinds
2019-05-07 23:08:06 +02:00
Marius Tolzmann
78f0e5e154 do not transform text of pasted links
this skips links in markPasteRules (Bold, Italic, Code, Strike, Underline)

fixes #258

works only if link extension is added before mark extensions

    extensions: [
      ...
      new Link(),
      ...
      new Italic(),
      new Bold(),
      new Code(),
      new Strike(),
      new Underline(),
      ...
    ]
2019-05-07 17:04:23 +02:00
Philipp Kühn
0c3b6e4cd6 Publish
- tiptap-commands@1.9.1
 - tiptap-extensions@1.18.1
 - tiptap-utils@1.4.1
 - tiptap@1.18.1
2019-05-07 08:00:53 +02:00
Philipp Kühn
a44a4e7d39 Publish
- tiptap-commands@1.9.0
 - tiptap-extensions@1.18.0
 - tiptap@1.18.0
2019-05-06 10:28:28 +02:00
Philipp Kühn
3a42fe388b fix linter errors 2019-05-04 11:00:50 +02:00
Philipp Kühn
0e59e0cc0c Publish
- tiptap-commands@1.8.0
 - tiptap-extensions@1.17.0
 - tiptap-utils@1.4.0
 - tiptap@1.17.0
2019-04-30 20:16:04 +02:00
Philipp Kühn
5e6d60c3fe update dependencies 2019-04-30 16:19:38 +02:00
Philipp Kühn
6bd44103fb Publish
- tiptap-commands@1.7.1
 - tiptap-extensions@1.15.1
 - tiptap@1.15.1
2019-04-17 23:02:31 +02:00