Commit Graph

109 Commits

Author SHA1 Message Date
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
Philipp Kühn
2d1722e3eb fix bug 2019-04-17 23:01:47 +02:00
Philipp Kühn
93ceec111d Publish
- tiptap-commands@1.7.0
 - tiptap-extensions@1.14.0
 - tiptap-utils@1.3.0
 - tiptap@1.14.0
2019-03-06 07:10:25 +01:00
Philipp Kühn
795e5ecb13 Publish
- tiptap-commands@1.6.0
 - tiptap-extensions@1.12.0
 - tiptap-utils@1.2.0
 - tiptap@1.12.0
2019-02-06 11:42:02 +01:00
Philipp Kühn
b85b55342c update prosemirror dependencies 2019-02-06 11:36:23 +01:00
Philipp Kühn
bf05978dc4 Publish
- tiptap-commands@1.5.0
 - tiptap-extensions@1.11.0
 - tiptap@1.11.0
2019-02-01 18:41:04 +01: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
118e7ebd00 Publish
- tiptap-commands@1.4.0
 - tiptap-extensions@1.8.0
 - tiptap-utils@1.1.1
 - tiptap@1.8.0
2019-01-19 10:36:16 +01:00
Philipp Kühn
19163370f5 Publish
- tiptap-commands@1.3.0
 - tiptap-extensions@1.5.0
 - tiptap-utils@1.1.0
 - tiptap@1.5.0
2018-12-19 23:15:54 +01:00
Hans Pagel
a48ac55d4f update github repository URL 🎉 2018-12-11 10:44:19 +01:00
Philipp Kühn
19202f25f0 Publish
- tiptap-commands@1.2.0
 - tiptap-extensions@1.3.0
 - tiptap@1.3.0
2018-11-26 11:22:03 +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
cddc512cd8 Publish
- tiptap-commands@1.1.0
 - tiptap-extensions@1.2.0
 - tiptap@1.2.0
2018-11-22 22:55:48 +01:00
Philipp Kühn
2bbfab2f8f range is optional for replaceText command 2018-11-22 22:48:00 +01:00
Philipp Kühn
a4df927d64 Publish
- tiptap-commands@1.0.1
 - tiptap-extensions@1.0.1
 - tiptap-utils@1.0.1
 - tiptap@1.0.1
2018-11-14 16:24:19 +01:00
Philipp Kühn
eb7fe0c837 Publish
- tiptap-commands@1.0.0
 - tiptap-extensions@1.0.0
 - tiptap-utils@1.0.0
 - tiptap@1.0.0
2018-11-14 16:01:29 +01:00
Philipp Kühn
f04a6be6c1 tabs to spaces whitespace 2018-11-08 22:03:10 +01:00
Philipp Kühn
d90839a74a Publish
- tiptap-commands@0.7.1
 - tiptap-extensions@0.22.2
 - tiptap-utils@0.4.1
 - tiptap@0.20.1
2018-11-05 23:51:25 +01:00
Philipp Kühn
6008379827 Publish
- tiptap-commands@0.7.0
 - tiptap-extensions@0.20.0
 - tiptap-utils@0.4.0
 - tiptap@0.18.0
2018-10-13 18:46:23 +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
a648d858b1 Publish
- tiptap-commands@0.6.0
 - tiptap-extensions@0.18.2
 - tiptap@0.16.2
2018-10-10 15:09:42 +02:00
Philipp Kühn
fe210f68ed fix toggle blockquotes 2018-10-10 15:08:37 +02:00
Philipp Kühn
ec0d0b10f8 Publish
- tiptap-commands@0.5.0
 - tiptap-extensions@0.17.0
 - tiptap@0.15.0
2018-10-02 23:06:24 +02:00
Philipp Kühn
4a31f8f1ca add insertText command 2018-10-02 23:01:53 +02:00
Philipp Kühn
8f66c19c7e Publish
- tiptap-commands@0.4.0
 - tiptap-extensions@0.16.0
 - tiptap-utils@0.3.0
 - tiptap@0.14.0
2018-09-29 13:25:09 +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
bee2dd5150 Publish
- tiptap-commands@0.3.0
 - tiptap-extensions@0.8.0
 - tiptap@0.10.0
2018-09-04 22:35:58 +02:00
Philipp Kühn
ab28f8e0e7 Publish
- tiptap-commands@0.2.5
 - tiptap-extensions@0.7.2
 - tiptap@0.9.2
2018-09-04 13:42:54 +02:00
Philipp Kühn
b9ee8e9a28 add splitToDefaultListItem command, fix #3 2018-09-04 13:42:02 +02:00
Philipp Kühn
11a000a2b6 Publish
- tiptap-commands@0.2.4
 - tiptap-extensions@0.4.1
 - tiptap@0.6.3
2018-08-27 21:53:47 +02:00
Philipp Kühn
1de45acef5 fix em input rule 2018-08-27 21:53:12 +02:00
Philipp Kühn
304a2cd67b Publish
- tiptap-commands@0.2.3
 - tiptap-extensions@0.3.2
 - tiptap-utils@0.2.4
 - tiptap@0.6.2
2018-08-26 15:21:31 +02:00
Philipp Kühn
53e6a25429 add basic readme files for all packages 2018-08-26 15:20:59 +02:00
Philipp Kühn
ed9c60df64 Publish
- tiptap-commands@0.2.2
 - tiptap-extensions@0.3.1
 - tiptap-utils@0.2.3
 - tiptap@0.6.1
2018-08-26 08:32:07 +02:00
Philipp Kühn
653ac771c8 Publish
- tiptap-commands@0.2.1
 - tiptap-extensions@0.3.0
 - tiptap-utils@0.2.2
 - tiptap@0.6.0
2018-08-25 21:40:04 +02:00
Philipp Kühn
1448179e3d remove package-lock for now 2018-08-25 17:04:20 +02:00
Philipp Kühn
e27735bba8 Publish
- tiptap-commands@0.2.0
 - tiptap-extensions@0.2.0
 - tiptap@0.5.0
2018-08-25 00:07:34 +02:00
Philipp Kühn
b61f95a2a7 add markInputRule function 2018-08-24 23:53:49 +02:00
Philipp Kühn
2ef23d3003 Publish
- tiptap-commands@0.1.1
 - tiptap-utils@0.2.1
 - tiptap@0.2.1
2018-08-23 17:38:13 +02:00
Philipp Kühn
bcd6ffcd99 add package lock 2018-08-23 17:37:46 +02:00
Philipp Kühn
9fafc6b00f add tiptap-models 2018-08-23 11:13:59 +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