Commit Graph

6213 Commits

Author SHA1 Message Date
Philipp Kühn
c0713b64af delay focus, fix #268 2019-05-17 23:46:15 +02:00
Philipp Kühn
5ec5168cc1 use handleDOMEvents for focus and blur events 2019-05-17 23:29:32 +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
8139959e01 update ad image 2019-05-15 23:40:14 +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
0f9179bc4f fix getPos for mark views 2019-05-15 23:12:00 +02:00
Philipp Kühn
ac6b7dc5ca update dependencies 2019-05-15 22:02:54 +02:00
Philipp Kühn
2a4e9fde7f update dev dependencies 2019-05-15 22:02:18 +02:00
Philipp Kühn
d9d4f432cb Publish
- tiptap-extensions@1.19.3
2019-05-15 10:54:56 +02:00
Philipp Kühn
72a1045777
Merge pull request #314 from Chrissi2812/issue-310
adding option to disable resizing of tables
2019-05-15 10:53:51 +02:00
Chrissi2812
9a86801973
change table resizable default to false 2019-05-15 10:43:34 +02:00
Chrissi2812
20bcffc94a
change order of methods to match other extensions 2019-05-15 09:52:09 +02:00
Chrissi2812
39f942aca8
adding option to disable resizing of tables
closes #310
2019-05-15 09:38:16 +02:00
Philipp Kühn
b61bec8bb9 fix #311 2019-05-13 23:27:31 +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
5c38a6080d update dependencies 2019-05-13 12:55:19 +02:00
Philipp Kühn
be72a194ed update dev dependencies 2019-05-13 12:54:00 +02:00
Philipp Kühn
0d2f364dcb check for children in ignoreMutation, fix #304 2019-05-13 12:53:54 +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
71ae9807be update dependencies 2019-05-10 15:46:01 +02:00
Philipp Kühn
80144815a9 pass editor to sendable hook 2019-05-10 15:37:21 +02:00
Philipp Kühn
a1f94056cf do not allow other marks within code 2019-05-10 14:56:50 +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
ec9c2f3e1f fix mark order 2019-05-09 10:52:34 +02:00
Philipp Kühn
6eff32516a we dont need to call updatePluginViews anymore 2019-05-09 10:47:23 +02:00
Philipp Kühn
8080ae2d43 update dependencies 2019-05-09 10:46:41 +02:00
Philipp Kühn
79236f3b56 update dev dependencies 2019-05-09 10:36:31 +02:00
Philipp Kühn
2225dc3f72
Merge pull request #272 from Chrissi2812/disabled-paste-input-rules
add option to disable input/pasterules
2019-05-09 10:35:25 +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
Philipp Kühn
7cd0fd40ac
Merge pull request #278 from Chrissi2812/issue-232
fixes #232: Clicking toolbar TodoItem lifts TodoItem
2019-05-09 10:32:08 +02:00
Philipp Kühn
f02461cc79 destroy sockets 2019-05-08 22:27:54 +02:00
Christoph Flathmann
5d2fac08f1
Merge branch 'master' into issue-232 2019-05-08 13:34:12 +02:00
Chrissi2812
1332a24ad6
use splitToDefaultListItem again in todo_item
splitToDefaultListItem didn't worked before with nested todos
because of a missing import statement
2019-05-08 13:27:08 +02:00
Chrissi2812
f81f07ad65
add missing import statements to splitToDefaultListItem 2019-05-08 13:24:56 +02:00
Chrissi2812
fc41ff36de
allow nested todo_lists via options on todo_item 2019-05-08 12:26:13 +02:00
Philipp Kühn
42740690e7
Merge pull request #300 from jjangga0214/refactor/src/Utils/Emitter.js
refactor src/Utils/Emitter.js
2019-05-08 09:47:50 +02:00
Philipp Kühn
b7a763d964
Merge pull request #298 from jjangga0214/refactor/ExtensionManager.js
refactor src/Utils/ExtensionManager.js
2019-05-08 09:46:48 +02:00
Chrissi2812
d5180182f4
boolean switch for input and paste rules added 2019-05-08 09:35:55 +02:00
Philipp Kühn
f44be05cf3
Merge pull request #297 from jjangga0214/patch/deprecated/slot
change deprecated `slot-scope` to `v-slot`
2019-05-08 09:00:55 +02:00
GIL B. Chan
676ce7d9f1 refactor src/Utils/Emitter.js
- Make flow of logic more compact. It reduces 12 code lines.
- Use filter for simple element removal. Unless there are lots of elements, breaking a loop doesn't actually have practical benefit.
- More flexible. It would be easier to edit even if argument is changed
to option pack (json).
2019-05-08 15:01:41 +09:00
GIL B. Chan
22100ff76a refactor src/Utils/ExtensionManager.js
- remove duplication of logic
- reduce code lines to half (not entire module, but the part this refactor is applied to)
2019-05-08 07:27:08 +09: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
Gil B. Chan
c6f281e487 change deprecated slot-scope to v-slot
Directive `slot-scope` is deprecated as of Vue v2.6.0. See [here](https://vuejs.org/v2/guide/components-slots.html) for details. Currently tiptap depends on Vue ^2.6.10. So this commit introduces new directive `v-slot` on README.md and examples.
2019-05-08 06:25:36 +09: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