Commit Graph

22 Commits

Author SHA1 Message Date
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
Philipp Kühn
3a42fe388b fix linter errors 2019-05-04 11:00:50 +02:00
Philipp Kühn
2d1722e3eb fix bug 2019-04-17 23:01:47 +02:00
Philipp Kühn
d9b2e2054d
Merge branch 'master' into markdown-paste 2019-02-01 17:56:22 +01:00
Chrissi2812
e27d65390b
inputrule for horizonal-line 2019-01-31 16:24:52 +01:00
Chrissi2812
983643f789
added markdown handler for marks 2019-01-31 15:09:05 +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
2bbfab2f8f range is optional for replaceText command 2018-11-22 22:48:00 +01:00
Philipp Kühn
f04a6be6c1 tabs to spaces whitespace 2018-11-08 22:03:10 +01: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
fe210f68ed fix toggle blockquotes 2018-10-10 15:08:37 +02:00
Philipp Kühn
4a31f8f1ca add insertText command 2018-10-02 23:01:53 +02:00
Philipp Kühn
640094171e wording 2018-09-29 12:34:11 +02:00
Philipp Kühn
d089259080 refactoring 2018-09-28 13:55:34 +02:00
Philipp Kühn
a8dce68290 add replacetext command 2018-09-28 12:48:09 +02:00
Philipp Kühn
a511704f49 add command for mentions 2018-09-25 07:43:21 +02:00
Philipp Kühn
b9ee8e9a28 add splitToDefaultListItem command, fix #3 2018-09-04 13:42:02 +02:00
Philipp Kühn
1de45acef5 fix em input rule 2018-08-27 21:53:12 +02:00
Philipp Kühn
b61f95a2a7 add markInputRule function 2018-08-24 23:53:49 +02:00
Philipp Kühn
adc90a7ecd fix packages 2018-08-23 10:49:01 +02:00
Philipp Kühn
d5039489dd add commands and utils packages 2018-08-23 10:33:49 +02:00