Commit Graph

446 Commits

Author SHA1 Message Date
Philipp Kühn
7f9bb9f1d1 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/improve-command-chaining 2020-09-22 20:09:22 +02:00
Hans Pagel
51af4b696b fix markup typo 2020-09-22 16:52:20 +02:00
Hans Pagel
570091fb95 add content to the custom extension page 2020-09-22 16:09:24 +02:00
Hans Pagel
4c6dbe1a80 update the content 2020-09-22 16:03:31 +02:00
Hans Pagel
5abc9ed09b improve a few pages 2020-09-22 15:45:57 +02:00
Hans Pagel
4de6250f74 improve the introduction 2020-09-22 15:17:08 +02:00
Hans Pagel
4e1676956e whitespace 2020-09-22 15:17:02 +02:00
Philipp Kühn
0aa5a4c474 disable list test for now 2020-09-22 09:15:09 +02:00
Philipp Kühn
dcac67c61a fix more commands 2020-09-22 09:08:08 +02:00
Philipp Kühn
655d721914 update dependencies 2020-09-21 23:48:55 +02:00
Philipp Kühn
78ff453030 fix ts errors 2020-09-21 23:44:35 +02:00
Philipp Kühn
4da71ecfbb add some more commands 2020-09-21 23:17:30 +02:00
Philipp Kühn
778e064979 add basic ChainedCommands type 2020-09-21 21:40:44 +02:00
Philipp Kühn
c1a941a042 add support for prosemirror commands 2020-09-21 18:40:32 +02:00
Hans Pagel
0c6e49362f wording 2020-09-21 17:50:50 +02:00
Hans Pagel
b2c85f11df wording 2020-09-21 17:17:35 +02:00
Hans Pagel
c6c03f72b4 fix github edit link 2020-09-21 17:17:28 +02:00
Hans Pagel
ece9d0a554 minor improvements 2020-09-21 16:59:28 +02:00
Philipp Kühn
f6270c0e0c add more commands 2020-09-20 23:44:38 +02:00
Philipp Kühn
fbdc156981 add basic new chaining 2020-09-20 23:19:27 +02:00
Hans Pagel
c307171295 add morrre content 2020-09-16 17:01:47 +02:00
Hans Pagel
80682bbffb remove CDN installation 2020-09-15 21:17:18 +02:00
Hans Pagel
17c22b8a2b add more content everywhere 2020-09-15 21:07:16 +02:00
Hans Pagel
3470400785 add more content to the basic example 2020-09-15 17:55:22 +02:00
Hans Pagel
90d0d7a914 add google docs shortcuts to the best practices section 2020-09-15 17:52:46 +02:00
Hans Pagel
e20d428077 add missing pages 2020-09-15 17:37:11 +02:00
Hans Pagel
297981c5d8 add a test to the text extension page 2020-09-15 17:31:43 +02:00
Hans Pagel
a3bcd74f15 add listitem to the extensions overview 2020-09-15 17:30:01 +02:00
Hans Pagel
abc16ad54b fix typo 2020-09-15 17:26:47 +02:00
Hans Pagel
2342d4a2ab improve the bullet list page 2020-09-15 17:26:42 +02:00
Hans Pagel
53a3a94a50 add markdown shortcuts to the code extension page 2020-09-15 17:26:35 +02:00
Hans Pagel
6b606f376f add more to the upgrade guide 2020-09-15 17:26:27 +02:00
Hans Pagel
2f9ee7fbbd add the text extension page 2020-09-15 17:05:32 +02:00
Hans Pagel
f8487c95a7 add bullet list markdown shortcut tests 2020-09-15 16:59:27 +02:00
Hans Pagel
a560a1bbb4 remove global window.editor instance from demos 2020-09-15 16:52:19 +02:00
Hans Pagel
f7f3d29fe5 add a demo to the bullet list extension page 2020-09-15 16:50:54 +02:00
Hans Pagel
a917264057 update the heading page 2020-09-15 16:44:20 +02:00
Philipp Kühn
00506e359b defaults to force: true for type and click 2020-09-15 09:03:08 +02:00
Philipp Kühn
71cc626b0a refactoring 2020-09-15 00:07:00 +02:00
Philipp Kühn
61ca7d4377 remove focus from tests 2020-09-14 23:39:27 +02:00
Philipp Kühn
7afcb0250e fix shortcuts 2020-09-11 23:17:40 +02:00
Philipp Kühn
f5dca8defb refactoring 2020-09-11 22:26:53 +02:00
Philipp Kühn
cc9425fc07 fix tests again 2020-09-11 22:25:05 +02:00
Philipp Kühn
23ce5bc044 fix shortcuts 2020-09-11 22:02:51 +02:00
Philipp Kühn
66841f2fe2 replace all contains 2020-09-11 21:56:08 +02:00
Philipp Kühn
46cee66db9 update some tests 2020-09-11 21:04:55 +02:00
Philipp Kühn
8df2a5d25e add done again 2020-09-11 18:52:18 +02:00
Philipp Kühn
cc0695feb6 formatting 2020-09-11 18:45:16 +02:00
Philipp Kühn
7350f52392 fix crapcode 2020-09-11 18:35:25 +02:00
Hans Pagel
3b67e58941 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/MarkdownShortcuts/index.spec.js
#	docs/src/demos/Extensions/Blockquote/index.spec.js
#	docs/src/demos/Extensions/Bold/index.spec.js
#	docs/src/demos/Extensions/Code/index.spec.js
#	docs/src/demos/Extensions/CodeBlock/index.spec.js
#	docs/src/demos/Extensions/HardBreak/index.spec.js
#	docs/src/demos/Extensions/Heading/index.spec.js
#	docs/src/demos/Extensions/History/index.spec.js
#	docs/src/demos/Extensions/HorizontalRule/index.spec.js
#	docs/src/demos/Extensions/Italic/index.spec.js
#	docs/src/demos/Extensions/Paragraph/index.spec.js
#	docs/src/demos/Extensions/Strike/index.spec.js
#	docs/src/demos/Extensions/Underline/index.spec.js
2020-09-11 18:20:56 +02:00
Philipp Kühn
b13d3ddb0b Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/MarkdownShortcuts/index.spec.js
#	docs/src/demos/Extensions/Blockquote/index.spec.js
#	docs/src/demos/Extensions/Bold/index.spec.js
#	docs/src/demos/Extensions/Code/index.spec.js
#	docs/src/demos/Extensions/CodeBlock/index.spec.js
#	docs/src/demos/Extensions/HardBreak/index.spec.js
#	docs/src/demos/Extensions/Heading/index.spec.js
#	docs/src/demos/Extensions/History/index.spec.js
#	docs/src/demos/Extensions/HorizontalRule/index.spec.js
#	docs/src/demos/Extensions/Italic/index.spec.js
#	docs/src/demos/Extensions/Paragraph/index.spec.js
#	docs/src/demos/Extensions/Strike/index.spec.js
#	docs/src/demos/Extensions/Underline/index.spec.js
2020-09-11 18:11:56 +02:00
Philipp Kühn
808b806db8 store editor in dom element 2020-09-11 18:06:13 +02:00
Hans Pagel
a3466f1add add before method again 2020-09-11 17:51:57 +02:00
Hans Pagel
464d3665db fix broken test 2020-09-11 17:44:28 +02:00
Hans Pagel
dc83868b53 get rid of before method 2020-09-11 17:42:41 +02:00
Hans Pagel
7aa1d33cc4 add async to missing tests 2020-09-11 17:32:03 +02:00
Hans Pagel
7e3d6fbe83 delete crap code test 2020-09-11 16:41:20 +02:00
Hans Pagel
c4d02c291c async beforeeach 2020-09-11 16:24:37 +02:00
Hans Pagel
1b414ab33c really fix tests 2020-09-11 15:57:33 +02:00
Hans Pagel
2e67d64d68 add best practices links to the sidebar 2020-09-11 14:53:53 +02:00
Hans Pagel
c08b35e352 fix tests 2020-09-11 12:57:16 +02:00
Hans Pagel
61208efe3f add heading tests 2020-09-11 12:56:58 +02:00
Hans Pagel
4129d13f19 add tests to the paragraph extension 2020-09-11 12:12:15 +02:00
Hans Pagel
0104bf6b34 try to fix the tests 2020-09-11 11:27:53 +02:00
Hans Pagel
9dcee8fffc add more content to the heading 2020-09-10 21:13:18 +02:00
Hans Pagel
af66dc6c81 add margin to the hr 2020-09-10 17:33:34 +02:00
Hans Pagel
b3297f05c2 update the code block page, add tests 2020-09-10 17:29:34 +02:00
Hans Pagel
d1ea1da0cc add more content to the heading page 2020-09-10 17:10:20 +02:00
Hans Pagel
89b5f04aac rename the code block extension, add content to the code block extension 2020-09-10 16:54:53 +02:00
Hans Pagel
692994167e add code blocks to the navigation again 2020-09-10 16:37:17 +02:00
Hans Pagel
e99ecb9595 fix code blocks 2020-09-10 15:03:48 +02:00
Hans Pagel
cd116b7d1a wording 2020-09-10 14:52:19 +02:00
Hans Pagel
7c069e3eb6 add new extensions to the basic example 2020-09-10 14:51:07 +02:00
Hans Pagel
e1d9ecaf91 clean up the horizontal rule page 2020-09-10 14:40:49 +02:00
Hans Pagel
6f898a004b add a demo and tests to the horizontal rule extension 2020-09-10 12:55:15 +02:00
Hans Pagel
860b6385ad add an interactive demo and tests to the underline extension 2020-09-10 12:43:40 +02:00
Hans Pagel
12116a65ec add markdown shortcut tests to the bold extension 2020-09-10 12:40:55 +02:00
Hans Pagel
6f6ca74fcb Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 12:31:35 +02:00
Hans Pagel
2d4f8cd3a6 switch to single tilde syntax 2020-09-10 12:31:26 +02:00
Philipp Kühn
49593ac4fc Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-09-10 12:28:18 +02:00
Philipp Kühn
667d735a12 add horizontal rule extension 2020-09-10 12:28:14 +02:00
Hans Pagel
d043efe923 test the strikes extension, enable the interactive demo 2020-09-10 12:27:27 +02:00
Hans Pagel
3377f0af48 fix typo 2020-09-10 12:13:56 +02:00
Hans Pagel
dd7310da6b Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 12:11:45 +02:00
Hans Pagel
c2570d6adc improve the hardbreak demo and add tests 2020-09-10 12:11:42 +02:00
Philipp Kühn
cf3bcf3093 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-09-10 12:10:33 +02:00
Philipp Kühn
d18b349b6c add blcokquote to default extensions 2020-09-10 12:10:24 +02:00
Hans Pagel
72d262c9fc Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 11:58:08 +02:00
Hans Pagel
13ea910326 enable hardbreak demo 2020-09-10 11:58:00 +02:00
Philipp Kühn
7f0a734edc
Merge pull request #5 from ueberdosis/feature/blockquote-extension
Add Blockquote extension (with documentation, demo and tests)
2020-09-10 11:56:46 +02:00
Hans Pagel
d8e251a3ab Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-09-10 11:53:08 +02:00
Hans Pagel
868ffb4d66 add the strike extension documentation 2020-09-10 11:53:03 +02:00
Hans Pagel
236ad6e21a add the hardBreak command 2020-09-10 11:52:20 +02:00
Philipp Kühn
709c10697c Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2020-09-10 11:43:19 +02:00
Philipp Kühn
bf63f6ba4c update starter kits 2020-09-10 11:43:09 +02:00
Hans Pagel
0a8e15623b add the documentation for the hardbreak extension 2020-09-10 11:35:56 +02:00
Hans Pagel
e92da4c966
Merge branch 'main' into feature/blockquote-extension 2020-09-10 11:25:25 +02:00
Hans Pagel
3e85f4f217 rename keybindings to keyboard shortcuts 2020-09-10 11:24:33 +02:00
Hans Pagel
19a5e7eab5 clean up the markdown shortcuts tests 2020-09-10 11:23:54 +02:00
Hans Pagel
405a380fb6 fix a typo 2020-09-10 11:22:26 +02:00
Hans Pagel
8ce9a440a7 don’t check the platform in cypress, use the modifier alias only 2020-09-10 11:21:51 +02:00
Hans Pagel
889bf4f4ff add blockquote extension with documentation, demo and tests 2020-09-10 11:19:49 +02:00
Hans Pagel
18e7124c68 add markdown shortcuts for bold to the documentation 2020-09-10 11:06:26 +02:00
Hans Pagel
bdb3d2d30a format tables 2020-09-10 10:21:24 +02:00
Philipp Kühn
9acbcf11bc fix getSchema 2020-09-09 21:18:04 +02:00
Philipp Kühn
cbe5ce4673 Merge branch 'main' into feature/generate-html-from-json-document
# Conflicts:
#	packages/core/src/ExtensionManager.ts
2020-09-09 20:50:53 +02:00
Philipp Kühn
fab2fce671 remove test file 2020-09-09 18:47:37 +02:00
Philipp Kühn
0361da1b71 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/replace-classes
# Conflicts:
#	docs/src/demos/Examples/Focus/index.vue
#	docs/src/docPages/api/extensions/placeholder.md
#	docs/src/docPages/general/roadmap.md
2020-09-09 18:16:51 +02:00
Hans Pagel
9819e44fe6 update text for the paragraph extension 2020-09-09 16:16:57 +02:00
Hans Pagel
6b561a951b add contributing and sponsoring to the sitemap 2020-09-09 16:15:36 +02:00
Hans Pagel
9244c3e912 add the custom class option to all extensions that generate HTML tags 2020-09-09 16:15:22 +02:00
Hans Pagel
0efab21338 write about the paragraph extension 2020-09-09 16:12:39 +02:00
Hans Pagel
ec81bb9bc0 add old content and a warning to the events page 2020-09-09 15:59:34 +02:00
Hans Pagel
cc7a448474 write about the Document extension 2020-09-09 15:58:06 +02:00
Hans Pagel
bc36e377b3 add content to the upgrade guide 2020-09-09 15:57:30 +02:00
Hans Pagel
94ca32478a improve focus example 2020-09-09 15:25:00 +02:00
Hans Pagel
29e0fc6bae hide all empty examples 2020-09-09 15:24:50 +02:00
Hans Pagel
267ec93dd2 move general to overview namespace, transfer roadmap to github 2020-09-09 15:15:20 +02:00
Hans Pagel
78189b146b update installation guide 2020-09-09 14:47:35 +02:00
Hans Pagel
b11bb39dee skip failing test for now 2020-09-09 13:25:16 +02:00
Philipp Kühn
a812dd47be fix extension manager 2020-09-09 10:58:10 +02:00
Hans Pagel
c595129bec skip failing test for now 2020-09-08 22:52:31 +02:00
Hans Pagel
c2666da3c0
Merge branch 'main' into feature/generate-html-from-json-document 2020-09-08 22:45:59 +02:00
Hans Pagel
0469793054 skip read only tests 2020-09-08 17:39:24 +02:00
Hans Pagel
56c7f991f7 rename tests 2020-09-08 17:39:24 +02:00
Hans Pagel
79f45da4ba show only extensions that we build for v2-beta 2020-09-08 17:39:24 +02:00
Hans Pagel
9ce234f18f skip failing tests 2020-09-08 17:39:24 +02:00
Hans Pagel
cb8ab47ee8 add tasks to the roadmap 2020-09-08 17:39:24 +02:00
Hans Pagel
cb01e2e9b7 remove wrong content from placeholder extension 2020-09-08 17:39:24 +02:00
Hans Pagel
4226946c51 fix typo 2020-09-08 17:39:24 +02:00
Hans Pagel
c065edd405 add keyboard shortcut tests to the history extension 2020-09-08 17:39:24 +02:00
Hans Pagel
d9eaedd194 refactor platform related shortcuts 2020-09-08 17:39:24 +02:00
Hans Pagel
050677d544 add shortcuts to bold and italic tests 2020-09-08 17:39:24 +02:00
Hans Pagel
3f0eac922d update dependencies 2020-09-08 17:39:24 +02:00
Hans Pagel
c10c0c8e8d skip read only tests 2020-09-08 14:30:28 +02:00
Hans Pagel
d76b091db8 rename tests 2020-09-08 14:29:27 +02:00
Hans Pagel
d03f68a3d1 show only extensions that we build for v2-beta 2020-09-08 14:26:17 +02:00
Hans Pagel
225c3b0e3c skip failing tests 2020-09-08 14:25:58 +02:00
Hans Pagel
d6bfd96eb3 add tasks to the roadmap 2020-09-08 14:20:17 +02:00
Hans Pagel
7a219f4dde remove wrong content from placeholder extension 2020-09-08 14:20:10 +02:00
Hans Pagel
edcb1b86bf fix typo 2020-09-08 14:19:53 +02:00
Philipp Kühn
56093e3fd0 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/replace-classes 2020-09-08 09:01:29 +02:00
Hans Pagel
970138d036 add keyboard shortcut tests to the history extension 2020-09-04 14:42:30 +02:00
Hans Pagel
93428ba850 refactor platform related shortcuts 2020-09-04 14:37:26 +02:00
Hans Pagel
763ab7cf84 add shortcuts to bold and italic tests 2020-09-04 14:31:11 +02:00
Hans Pagel
d68cb8e9d2 update dependencies 2020-09-04 14:24:27 +02:00
Hans Pagel
18ef2b90d5 add a warning 2020-09-04 13:30:09 +02:00
Hans Pagel
73bd3907d9 remove ideas from PR branch 2020-09-04 13:09:45 +02:00
Hans Pagel
c36ddaf8fc improve the documentation 2020-09-04 12:35:31 +02:00
Hans Pagel
7525ff5726 improve the generateHtml example 2020-09-04 12:02:37 +02:00