Commit Graph

25 Commits

Author SHA1 Message Date
Philipp Kühn
4f3260d685 add option to disable open links on click, fix #479, see #449 2019-10-04 14:24:34 +02:00
Philipp Kühn
b61bec8bb9 fix #311 2019-05-13 23:27:31 +02:00
Philipp Kühn
a1f94056cf do not allow other marks within code 2019-05-10 14:56:50 +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
b0c28da3c1 fix pasteRules for italic mark
fixes #284
2019-05-07 17:14:13 +02:00
Marius Tolzmann
d8cc84bde9 fix link pattern to also detect new (longer) top level domains 2019-05-06 06:46:10 +02:00
Chrissi2812
44dc5337dc
fix #275: link click handler no longer open on selection click 2019-04-29 15:24:03 +02:00
Philipp Kühn
cd0d00d604 open links by default 2019-04-17 23:33:10 +02:00
Philipp Kühn
6e21b43c82 fix missing update event, fix #260 2019-04-15 17:22:06 +02:00
Chrissi2812
027a4db452
added pasteRules to marks 2019-01-31 15:11:16 +01:00
Philipp Kühn
5ed84cb511 rename function 2018-11-26 11:17:24 +01:00
Philipp Kühn
d27b0deb6a add paste rules 2018-11-26 11:11:39 +01:00
Philipp Kühn
21c8ad852a improve link handling 2018-11-14 15:55:13 +01:00
Philipp Kühn
f04a6be6c1 tabs to spaces whitespace 2018-11-08 22:03:10 +01:00
Philipp Kühn
dcba6686dc add new commands to all extensions 2018-10-28 21:59:08 +01:00
Philipp Kühn
6b03315e59 rename all extensions (drop suffix) 2018-10-24 07:46:47 +02:00
Erick Wilder
54550b2386 feat(package.json): Add lint yarn script + make it a precondition to build all packages.
fmt(tiptap-commands): Fix all ESLint violations with `--fix`

fmt(tiptap-commands): Ignore some ESLint rules on code copied from prosemirror.

fmt(tiptap): Apply ESLint autofix to `tiptap` package sources.

fmt(tiptap-extensions): Fix ESlint violations from `marks`

refactor(tiptap-extensions): Fix ESLint violations for `plugins/Suggestions.js`.

Some of the violations required a bit of restructuring of the code/logic

fmt(tiptap-utils): Fix ESLint violations.

feat(package.json): Add yarn script to lint source code before compiling the examples.
2018-10-13 17:20:03 +02:00
Philipp Kühn
f8e79f14b1 remove useless nodeview for links 2018-09-23 08:11:20 +02:00
Chrissi2812
2b17cabf8f
removed Markdown support for UnderlineMark 2018-09-11 10:36:45 +02:00
Chrissi2812
2489997e91
UnderlineMark added 2018-09-11 10:36:44 +02:00
Chrissi2812
e91c76334d
StrikeMark added 2018-09-06 12:29:09 +02:00
Philipp Kühn
1de45acef5 fix em input rule 2018-08-27 21:53:12 +02:00
Philipp Kühn
25fafd1564 fix em input rule 2018-08-25 00:12:55 +02:00
Philipp Kühn
b61f95a2a7 add markInputRule function 2018-08-24 23:53:49 +02:00
Philipp Kühn
e2176f00fd move extensions to own package 2018-08-23 22:08:19 +02:00