Commit Graph

88 Commits

Author SHA1 Message Date
Marius Tolzmann
9787b876fe fix endPosition in getMarkRange
getMarkRange() will not return the actual end position of the current mark.

might reintroduce bug from #156 (i cannot reproduce #156 so i cannot check)

fixes in this commit:

A) work around a possible bug in indexAfter()?:
   $pos.indexAfter() seems to return the same index as $pos.index() at some point
   -> fixed by increasing startIndex by 1 instead of using indexAfter()

B) endPos needs to be initialized with initial startPos + nodeSize and not
   with resulting startPos:
   -> moved initialization right after setting startPos
2019-05-03 19:08:50 +02:00
Marius Tolzmann
d057d5d7d9 Revert "fix a bug for getting mark range, fix #156"
This reverts commit 0cf905abb9.
2019-05-03 19:06:19 +02:00
Marius Tolzmann
392f8a20b3 Revert "fix eslint warning"
This reverts commit c4e0bbeaf4.
2019-05-03 19:06:18 +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
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
a12c79e5e9 update prosemirror dependencies 2019-03-06 07:09:15 +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
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
c4e0bbeaf4 fix eslint warning 2019-01-19 10:33:58 +01:00
Philipp Kühn
0cf905abb9 fix a bug for getting mark range, fix #156 2019-01-19 09:29:15 +01:00
Philipp Kühn
1e9b862920 update prosemirror dependencies 2019-01-19 09:02:06 +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
Philipp Kühn
db15c18541 update dependencies 2018-12-19 21:57:03 +01:00
Hans Pagel
a48ac55d4f update github repository URL 🎉 2018-12-11 10:44:19 +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
5ae0a40855 fix peer dependencies 2018-11-14 16:23:35 +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
21c8ad852a improve link handling 2018-11-14 15:55:13 +01:00
Philipp Kühn
6e38c5abac upgrade dependencies 2018-11-08 22:22:05 +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
f01d641e4b fix active check for ordered list, fix #78 2018-11-05 23:50:28 +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
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
5e19290d35 update dependencies 2018-09-29 13:24:27 +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
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