Commit Graph

588 Commits

Author SHA1 Message Date
Marius Tolzmann
b0c28da3c1 fix pasteRules for italic mark
fixes #284
2019-05-07 17:14:13 +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
Chrissi2812
ff445f13aa
no nested blocks in TodoItem 2019-05-07 15:47:48 +02:00
Chrissi2812
16963175c7
fix TransformError: Inconsistent open depths on TodoItems 2019-05-07 13:14:00 +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
8924b2df69
Merge pull request #280 from StickyKnow/fix-getMarkRange
Fix getMarkRange
2019-05-07 07:56:35 +02:00
Philipp Kühn
b70c8d235c
Merge pull request #287 from StickyKnow/fix-link-pattern
fix link pattern to also detect new (longer) top level domains
2019-05-07 07:50:18 +02:00
Philipp Kühn
7d4ec06a87
Merge pull request #283 from StickyKnow/fix-nodeIsActive
fix nodeIsActive()
2019-05-07 07:43:43 +02:00
Alecyrus
e9cd6b6f6c
fix #289
A workaround before the better solution comes out.
2019-05-07 08:50:21 +08:00
Philipp Kühn
d4a9c0ee09 add state getter 2019-05-06 17:46:05 +02:00
Philipp Kühn
e4dd55d08b fix missing peer dependency 2019-05-06 17:26:41 +02:00
Philipp Kühn
fe73a9aaff update dependencies 2019-05-06 13:52:48 +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
d0da644b90 remove @babel/plugin-proposal-class-properties 2019-05-06 10:27:40 +02:00
Marius Tolzmann
d8cc84bde9 fix link pattern to also detect new (longer) top level domains 2019-05-06 06:46:10 +02:00
Philipp Kühn
76dca53d80 send only json steps 2019-05-05 21:47:52 +02:00
Philipp Kühn
055d72be26 wording 2019-05-04 12:21:16 +02:00
Philipp Kühn
fc42cba033 remove lodash 2019-05-04 12:20:34 +02:00
Philipp Kühn
3a42fe388b fix linter errors 2019-05-04 11:00:50 +02:00
Philipp Kühn
0a98827b4c refactoring 2019-05-04 10:54:53 +02:00
Marius Tolzmann
b2ec2d66e1 fix nodeIsActive()
this fixes isActive.image() mentioned in #225

nodeIsActive was only checking parent nodes and missed the node
currently selected.
2019-05-04 02:17:53 +02:00
Philipp Kühn
55e5a4a3ae move collab extension 2019-05-04 00:25:14 +02:00
Philipp Kühn
cd46b163d0 add emitter, move some collab logic to extension 2019-05-04 00:05:39 +02:00
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
b5a5472171 refactoring 2019-05-03 17:50:30 +02:00
Philipp Kühn
5b530d5d0c add oldstate to update event 2019-05-03 14:04:14 +02:00
Philipp Kühn
83075f28e6 Merge branch 'master' into feature/collab-plugin
# Conflicts:
#	packages/tiptap/src/Editor.js
#	yarn.lock
2019-05-03 10:56:52 +02:00
Chrissi2812
e768dc24c8
fixes #232: Clicking toolbar TodoItem lifts TodoItem 2019-05-03 10:31:27 +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
0e6efc3889
Merge pull request #228 from Chrissi2812/menu-bubble-position
Fix Menu bubble position
2019-04-30 16:07:20 +02:00
Chrissi2812
44dc5337dc
fix #275: link click handler no longer open on selection click 2019-04-29 15:24:03 +02:00
Chrissi2812
2f0acf2f91
keep menuBubble in bounding box of editor 2019-04-25 16:27:22 +02:00
Chrissi2812
9f38f36447
add option to disable input/pasterules 2019-04-24 18:38:50 +02:00
Philipp Kühn
cf7ff907a1 Publish
- tiptap-extensions@1.16.2
 - tiptap@1.16.2
2019-04-19 15:26:26 +02:00
Philipp Kühn
c2fc6ce545 remove escape key listener to select parent node 2019-04-19 15:25:44 +02:00
Philipp Kühn
36f39f1d7a Publish
- tiptap-extensions@1.16.1
 - tiptap@1.16.1
2019-04-19 12:19:40 +02:00
Philipp Kühn
576c0b2910 update dependencies 2019-04-19 12:16:45 +02:00
Philipp Kühn
4d1594de1a save editor dom element before destroy 2019-04-19 12:14:00 +02:00
Philipp Kühn
3e1dbf7d9e Publish
- tiptap-extensions@1.16.0
 - tiptap@1.16.0
2019-04-17 23:34:10 +02:00
Philipp Kühn
cd0d00d604 open links by default 2019-04-17 23:33:10 +02:00
Philipp Kühn
05650b66d2 add position option to focus method 2019-04-17 23:29:45 +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
561d717ff8 Publish
- tiptap-extensions@1.15.0
 - tiptap@1.15.0
2019-04-15 17:24:20 +02:00
Philipp Kühn
6e21b43c82 fix missing update event, fix #260 2019-04-15 17:22:06 +02:00
Philipp Kühn
03cb2a1cce update dependencies 2019-04-11 20:04:35 +02:00
Philipp Kühn
5264eed028
Merge pull request #257 from jasonvarga/master
Allow extensions to override stopEvent
2019-04-11 19:55:16 +02:00
Jason Varga
fb8a9dd764 Allow extensions to override stopEvent 2019-04-09 12:54:37 -04:00
Maya Nedeljkovich
b3f8f1b558 allow parseOptions to be passed to setContent and Editor constructor 2019-04-08 12:39:31 +02:00
Chrissi2812
e441041860
fix travis-ci: copied textRange function from prosemirror-view 2019-03-07 18:28:27 +01:00
Chrissi2812
8ddc0c016a
add note why we had to use our own cordsAtPos implementation 2019-03-07 18:15:45 +01:00
Chrissi2812
f490ca1469
fix menububble position 2019-03-07 18:13:19 +01: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
d411863bbd
Merge pull request #213 from MatheusRich/add-support-to-history-custom-settings
Add support to history custom settings
2019-03-06 06:50:13 +01:00
Philipp Kühn
bafa4a62b1
Merge pull request #210 from Chrissi2812/reactive-plugin-options
Reactive extension options
2019-03-06 06:48:42 +01:00
Matheus Richard
0b83723a6b add support to history custom settings 2019-03-04 18:37:18 -03:00
Chrissi2812
1dbf54295c
travis-ci fixed praram-reassign issue in proxy setter 2019-02-26 12:04:45 +01:00
Chrissi2812
1cd40d3b0b
removed unnecessary comment 2019-02-26 11:56:50 +01:00
Chrissi2812
0f44e74d1e
fixed placeholder change corrupts current state 2019-02-26 11:42:07 +01:00
Chrissi2812
89e6436114
state passed to ExtensionManager is not updated
using view.state instead
2019-02-26 11:40:59 +01:00
Chrissi2812
5b77907211
add update method to placeholder 2019-02-25 16:23:31 +01:00
Chrissi2812
45945e2c09
make options for extensions reactive
changing options will call the update method off the extension.
2019-02-25 16:20:02 +01:00
Chrissi2812
086f540ba0
adding show and hide events to listen on for menububble 2019-02-20 12:14:00 +01:00
Chrissi2812
c3e7259941
seperate handleDrop from handlePaste 2019-02-18 15:01:04 +01:00
Philipp Kühn
a558eb784c Publish
- tiptap-extensions@1.13.0
 - tiptap@1.13.0
2019-02-12 22:34:15 +01:00
Philipp Kühn
c63b9aafc9 add blur function, fix #196 2019-02-12 22:22:56 +01:00
Philipp Kühn
4e4c2dd0b9 refactoring 2019-02-06 15:21:04 +01:00
Philipp Kühn
e6c3e65bed Publish
- tiptap-extensions@1.12.1
2019-02-06 15:12:38 +01:00
Philipp Kühn
f8f46b4f97 replace some names 2019-02-06 15:09:53 +01:00
Philipp Kühn
71ab0e0c9d move highlight plugin to its own file 2019-02-06 15:09:12 +01:00
Philipp Kühn
59d37f5697 fix code decorations again 2019-02-06 12:05:12 +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
9b90d6437e do not show placeholder if non editable 2019-02-06 11:28:40 +01:00
Philipp Kühn
44525063bc do not throw warn if content is null 2019-02-06 10:36:50 +01:00
Philipp Kühn
6a0aaf15e6 add something broken again 2019-02-06 00:03: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
Philipp Kühn
bc2a37df94
Merge pull request #185 from Chrissi2812/inputrule-hr
added markdown rule for horizontal line
2019-02-01 17:55:11 +01:00
Philipp Kühn
996b3c4dde fix a bug for removing code blocks 2019-02-01 17:54:35 +01:00
Chrissi2812
e27d65390b
inputrule for horizonal-line 2019-01-31 16:24:52 +01:00
Chrissi2812
027a4db452
added pasteRules to marks 2019-01-31 15:11:16 +01:00
Chrissi2812
e0fbea0734
added pasteRules to extension class 2019-01-31 15:10:55 +01:00
Chrissi2812
983643f789
added markdown handler for marks 2019-01-31 15:09:05 +01:00
Philipp Kühn
fce6d9dac9 improve performance for codeblocks with highlight.js 2019-01-31 11:46:32 +01:00
Philipp Kühn
8d44a4c6fc Publish
- tiptap-extensions@1.10.1
 - tiptap@1.10.1
2019-01-30 17:17:18 +01:00
Philipp Kühn
b032ea11ac allow paste events for node views 2019-01-30 17:16:34 +01:00
Philipp Kühn
2766a8317c Publish
- tiptap-extensions@1.10.0
 - tiptap@1.10.0
2019-01-30 09:05:58 +01:00
Philipp Kühn
d2414a2d06 pass extension options to node views as prop 2019-01-30 09:05:08 +01:00
Philipp Kühn
a5f86c257f Publish
- tiptap-extensions@1.9.0
 - tiptap@1.9.0
2019-01-29 09:37:12 +01:00
Philipp Kühn
89bdef6441 add editorProps to options 2019-01-29 09:31:26 +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
eee08508a2 add tabindex property to editor, fixed #115 2019-01-19 10:28:35 +01:00
Philipp Kühn
3b87dc9e57 add horizontal rule, fix #170 2019-01-19 09:57:46 +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
50e37fca5e Publish
- tiptap-extensions@1.7.0
 - tiptap@1.7.0
2019-01-01 22:32:42 +01:00
Philipp Kühn
2d3cc14bcf add autoFocus option, close #149 2019-01-01 22:29:08 +01:00
Philipp Kühn
cd1bcc2f08 add selected prop for nodeviews 2019-01-01 20:15:13 +01:00
Philipp Kühn
f8b1bd5df7 add transaction to update event 2019-01-01 17:51:57 +01:00
Philipp Kühn
8197b0d3bb activate draggable for todo items 2018-12-20 10:33:47 +01:00
Philipp Kühn
b6e631a918 Publish
- tiptap-extensions@1.6.0
 - tiptap@1.6.0
2018-12-20 08:22:20 +01:00
Philipp Kühn
a7fafd5564
Merge branch 'master' into add-dropcursor 2018-12-20 08:13:37 +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
4113ac6c68 add original event to focus and blur event 2018-12-19 23:13:58 +01:00
Philipp Kühn
02ff0034c1 allow setOptions updating options 2018-12-19 22:59:57 +01:00
Philipp Kühn
db15c18541 update dependencies 2018-12-19 21:57:03 +01:00
Philipp Kühn
5b16a8d371
Merge pull request #127 from vanpav/placeholder-text
Placeholder text
2018-12-19 21:51:34 +01:00
Chrissi2812
fda883ef5b
adding configuration for dropCursor 2018-12-19 09:10:30 +01:00
Chrissi2812
751e6984fe
added drop cursor
closes #140
2018-12-18 13:21:28 +01:00
Hans Pagel
a48ac55d4f update github repository URL 🎉 2018-12-11 10:44:19 +01:00
Ivan
00a691ed14
Update Placeholder.js 2018-12-10 15:55:20 +03:00
Ivan
6e78cc90b9
Update Placeholder.js 2018-12-10 15:46:22 +03:00
Philipp Kühn
b147760546 Publish
- tiptap-extensions@1.4.0
 - tiptap@1.4.0
2018-12-09 11:13:03 +01:00
Philipp Kühn
5a832238b4 update dependencies 2018-12-07 23:04:25 +01:00
Philipp Kühn
dbcbd0f75e fix insert mentions via command 2018-12-07 22:48:17 +01:00
Philipp Kühn
5c3de80ba6
Merge pull request #120 from Chrissi2812/table-support
Adding Table Support
2018-12-07 20:46:44 +01:00
Philipp Kühn
a6f4e896dc
Merge pull request #122 from vanpav/mention-extend
Mention extend
2018-12-07 20:45:38 +01:00
Ivan
f126b6a4ed
Mention extend 2018-12-07 21:12:35 +03:00
Ivan
fe6b1bee2d
Escape Suggestion trigger char 2018-12-07 21:05:10 +03:00
Chrissi2812
ce94d0641d
added toggleCellMerge and changed example to use it
If all selected cells are merged than the next call will split them.
2018-12-07 10:52:48 +01:00
Chrissi2812
c830768b3b
Adding Table Support 2018-12-06 18:18:59 +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
df402a66ad Publish
- tiptap-extensions@1.2.1
 - tiptap@1.2.1
2018-11-23 11:12:05 +01:00
Philipp Kühn
bea76b23ec expoprt Doc, Paragraph, Text 2018-11-23 11:11:32 +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
06b7446f2a add mention command 2018-11-22 22:48:06 +01:00
Philipp Kühn
2bbfab2f8f range is optional for replaceText command 2018-11-22 22:48:00 +01:00
Philipp Kühn
3b2d98fcbb Publish
- tiptap-extensions@1.1.0
 - tiptap@1.1.0
2018-11-22 21:57:40 +01:00
Philipp Kühn
e478c1aeb1 add useBuiltInExtensions option 2018-11-22 21:56:19 +01:00
Philipp Kühn
9cb9a895e4 Publish
- tiptap-extensions@1.0.5
 - tiptap@1.0.5
2018-11-16 17:22:51 +01:00
Philipp Kühn
f27bd6475a fix a bug in ie11 2018-11-16 17:22:05 +01:00
Philipp Kühn
d88db5866a Publish
- tiptap-extensions@1.0.4
 - tiptap@1.0.4
2018-11-16 14:18:32 +01:00
Philipp Kühn
d16174c060 do not render node views twice 2018-11-16 14:17:56 +01:00
Philipp Kühn
abfc9d5331 improved error handling for invalid content 2018-11-16 14:12:25 +01:00
Philipp Kühn
41a6fd54c5 Publish
- tiptap-extensions@1.0.3
 - tiptap@1.0.3
2018-11-16 11:57:18 +01:00
Philipp Kühn
6e5c2cb8bf upgraded dependencies 2018-11-16 11:54:34 +01:00
Philipp Kühn
bd03c890a0 rename file again 2018-11-14 18:18:53 +01:00
Philipp Kühn
e09d30a72f rename file 2018-11-14 18:18:37 +01:00
Philipp Kühn
cc6da291ed rename folders again 2018-11-14 18:16:12 +01:00
Philipp Kühn
7538dcb425 rename folders 2018-11-14 18:15:45 +01:00
Philipp Kühn
b3826ef0c4 add something 2018-11-14 18:02:36 +01:00
Philipp Kühn
72e5123cf3 lol 2018-11-14 17:52:27 +01:00
Philipp Kühn
902083ec1a Publish
- tiptap-extensions@1.0.2
 - tiptap@1.0.2
2018-11-14 17:38:55 +01:00
Philipp Kühn
57b9c77e28 fix a bug in editor-content component 2018-11-14 17:38:07 +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
4637ccfaf3 refactoring 2018-11-14 12:14:19 +01:00
Philipp Kühn
632c176164 improve updating props for nodeviews 2018-11-14 12:09:07 +01:00
Philipp Kühn
39a8ab6d5b do not update props anymore 2018-11-14 11:47:32 +01:00
Philipp Kühn
ca0144cfc3 refactoring 2018-11-14 10:58:14 +01:00
Philipp Kühn
ba8c3dce59 rename files again 2018-11-14 10:46:13 +01:00
Philipp Kühn
d1f62a3732 rename files 2018-11-14 10:45:35 +01:00
Philipp Kühn
290442829d refactoring 2018-11-14 10:45:13 +01:00
Philipp Kühn
a224b53c5a whitespace 2018-11-14 10:28:35 +01:00
Philipp Kühn
0f15b14ca4 refactoring 2018-11-14 10:22:42 +01:00
Philipp Kühn
d6c4c236a3 change isActive behavior 2018-11-14 10:05:34 +01:00
Philipp Kühn
55833ddc44 rename function 2018-11-14 09:38:04 +01:00
Philipp Kühn
a44b31c939 add update callback test 2018-11-14 00:00:21 +01:00
Philipp Kühn
c0d853ff0e add init test 2018-11-13 23:54:42 +01:00
Philipp Kühn
6cf66e2c7f add a few tests 2018-11-13 23:46:44 +01:00
Philipp Kühn
5f69ac2416 add focus and blur event 2018-11-12 23:15:18 +01:00
Philipp Kühn
9755dd3cc1 refactoring 2018-11-12 23:00:14 +01:00
Philipp Kühn
8c060d71a5 add init event 2018-11-12 22:58:39 +01:00
Philipp Kühn
7dfbb11311 add some tests 2018-11-12 20:55:55 +01:00
Philipp Kühn
2c2f26a7c6 add plugins folder 2018-11-11 23:18:48 +01:00
Philipp Kühn
178abfa8c5 move tests 2018-11-11 23:13:59 +01:00
Philipp Kühn
fe8a21ce7c add setParent method to rerender node views 2018-11-11 22:44:16 +01:00
Philipp Kühn
0eba7b48b5 fix lint error 2018-11-09 23:01:33 +01:00
Philipp Kühn
35880251cd add first test with jest 2018-11-09 23:01:23 +01:00
Philipp Kühn
181cebc8f2 pass extension to component view 2018-11-09 21:55:54 +01:00
Philipp Kühn
cb2617d439 renamed some components 2018-11-08 22:44:07 +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
807c2a3d23 remove legacy code 2018-11-08 21:43:44 +01:00
Philipp Kühn
e8fcc8916a Merge branch 'master' into v1.0
# Conflicts:
#	examples/Components/Routes/Basic/index.vue
#	examples/Components/Routes/Export/index.vue
#	examples/Components/Routes/MarkdownShortcuts/index.vue
#	examples/Components/Routes/Suggestions/index.vue
2018-11-08 21:41:33 +01:00
Philipp Kühn
107d628ba8 Publish
- tiptap-extensions@0.23.0
2018-11-08 16:53:45 +01:00
Philipp Kühn
42c177f59e allow functions for items in mention node 2018-11-08 16:50:23 +01:00
Philipp Kühn
c5d7ef4e79 fix whitespace 2018-11-08 16:40:45 +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
e7e1a9f76e Publish
- tiptap-extensions@0.22.1
2018-11-05 23:32:52 +01:00
Philipp Kühn
b7770bb747 fix pasting list items 2018-11-05 23:32:18 +01:00
Philipp Kühn
583c890624 Merge branch 'master' into v1.0 2018-11-05 20:58:09 +01:00
Philipp Kühn
cdef54c55e Publish
- tiptap-extensions@0.22.0
 - tiptap@0.20.0
2018-11-05 20:55:08 +01:00
Philipp Kühn
77e30cad4a add parent to nodeviews 2018-11-05 20:53:51 +01:00
Philipp Kühn
32c62b85ca add renderless MenuBar 2018-11-04 22:43:26 +01:00
Philipp Kühn
d4f6708daa add renderless FloatingMenu 2018-11-04 19:46:09 +01:00
Philipp Kühn
c2d8e15530 add renderless MenuBubble 2018-11-04 18:00:37 +01:00
Philipp Kühn
bc4a5743ff Merge branch 'master' into v1.0 2018-11-04 13:15:11 +01:00
Philipp Kühn
21ed0761e7 Publish
- tiptap-extensions@0.21.1
2018-11-01 07:44:52 +01:00
Philipp Kühn
45fa5a01d4 fix char for mentions 2018-11-01 07:44:22 +01:00
Philipp Kühn
06bb2ab802 fix linting error 2018-10-30 22:49:50 +01:00
Philipp Kühn
681c685287 refactoring 2018-10-30 22:46:11 +01:00
Philipp Kühn
35cc0a285f remove unused file 2018-10-30 22:43:17 +01:00
Philipp Kühn
f64bf9e2ff focus view before command 2018-10-30 09:45:21 +01:00
Philipp Kühn
69a3b22e54 check for editable on commands 2018-10-30 09:44:21 +01:00
Philipp Kühn
e608808c27 fix link example 2018-10-29 23:58:07 +01:00
Philipp Kühn
68793ea385 fix some examples 2018-10-29 23:31:13 +01:00
Philipp Kühn
253596fb35 add isActive function 2018-10-29 23:13:45 +01:00
Philipp Kühn
e66218bd95 add new command syntax to examples 2018-10-28 22:57:05 +01:00
Philipp Kühn
1e88fa1cb6 remove old commands 2018-10-28 22:17:21 +01:00
Philipp Kühn
dcba6686dc add new commands to all extensions 2018-10-28 21:59:08 +01:00
Philipp Kühn
d2519c2953 add basic new commands 2018-10-28 19:26:14 +01:00
Philipp Kühn
11bb74babb refactoring 2018-10-24 08:00:36 +02:00
Philipp Kühn
bde1527eff replace maxLevels option with levels for heading node 2018-10-24 07:58:08 +02:00
Philipp Kühn
6b03315e59 rename all extensions (drop suffix) 2018-10-24 07:46:47 +02:00
Philipp Kühn
787892dd4c fix floating menu example 2018-10-23 23:53:21 +02:00
Philipp Kühn
303e2f6d9c almost fix floating menu example 2018-10-23 23:44:48 +02:00
Philipp Kühn
0c9d481cd2 fix export example 2018-10-23 23:05:15 +02:00
Philipp Kühn
aecf2284e9 move some functions 2018-10-23 20:49:30 +02:00
Philipp Kühn
7437992dd5 fix some examples 2018-10-22 21:40:12 +02:00
Philipp Kühn
b913c84b58 fix editable 2018-10-22 21:11:28 +02:00
Philipp Kühn
a2dd57ad09 fix bubble menu 2018-10-22 18:24:54 +02:00
Philipp Kühn
3718591d33 fix menububble example 2018-10-22 17:40:55 +02:00
Philipp Kühn
9ec3d82d12 fix basic example 2018-10-22 08:43:48 +02:00
Philipp Kühn
b7bda1bae3 refactoring 2018-10-22 08:32:59 +02:00
Philipp Kühn
a0aef41dab unwrap content div 2018-10-21 23:07:30 +02:00
Philipp Kühn
1d7288d08d add menubar component 2018-10-21 22:44:13 +02:00
Philipp Kühn
3d866d9c1c add some old functions 2018-10-21 21:55:24 +02:00
Philipp Kühn
d5e25de018 start moving everything to components 2018-10-21 15:50:10 +02:00
Philipp Kühn
8b7b74f5b3 Publish
- tiptap-extensions@0.21.0
 - tiptap@0.19.0
2018-10-13 23:42:32 +02:00
Philipp Kühn
9ae7e466d8 add floating menu 2018-10-13 23:41:54 +02: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
Philipp Kühn
7bba2d653e refactoring 2018-10-13 18:43:59 +02:00
Philipp Kühn
3698141bb6
Merge pull request #63 from erickwilder/add-linting-before-build
feat(package.json): Add yarn script to lint source code + make it a precondition to build all packages.
2018-10-13 18:21:43 +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
Erick Wilder
27e473c2a4 refactor(tiptap-extensions): Do not import the full lowlight library.
BREAKING CHANGE: `CodeBlockHighlight` was importing the full `lowlight` libraries, including _all_
syntax highlightning definitions from `highlight.js`. The new behavior changes the signature of
`CodeBlockHighlight` to accept an object with all syntax highlightning definitions. This means that
now the user of the library __MUST__ import languages themselves and tiptap will no longer
bundle the full `highlight.js` in itself.
2018-10-13 16:22:33 +02:00
Philipp Kühn
3c650cf35f Publish
- tiptap-extensions@0.19.0
 - tiptap@0.17.0
2018-10-10 18:22:02 +02:00
Philipp Kühn
9d94d49112 add watchDoc prop to editor 2018-10-10 18:21:33 +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
37e7eb9625 Publish
- tiptap-extensions@0.18.1
 - tiptap@0.16.1
2018-10-07 20:22:43 +02:00
Philipp Kühn
55870ec896 Merge branch 'master' of https://github.com/heyscrumpy/tiptap 2018-10-07 20:21:47 +02:00
Philipp Kühn
cd3d5dd59e allow drag events in ComponentView, fix #52 2018-10-07 20:21:11 +02:00
Philipp Kühn
e0045563e9
Merge pull request #49 from Chrissi2812/fix_classnames
fix class name
2018-10-06 08:46:24 +02:00
Chrissi2812
c25a221eff
fix class name 2018-10-05 14:34:34 +02:00
Philipp Kühn
5c8a143a18 Publish
- tiptap-extensions@0.18.0
 - tiptap@0.16.0
2018-10-04 08:45:25 +02:00
Philipp Kühn
fe356fd5e9 update dependencies 2018-10-04 08:43:22 +02:00
Philipp Kühn
b0d4c92820 move vue and vue-template-compiler to peerDependencies 2018-10-04 08:40:58 +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