Commit Graph

182 Commits

Author SHA1 Message Date
Philipp Kühn
c1a941a042 add support for prosemirror commands 2020-09-21 18:40:32 +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
3470400785 add more content to the basic example 2020-09-15 17:55:22 +02:00
Hans Pagel
297981c5d8 add a test to the text extension page 2020-09-15 17:31:43 +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
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
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
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
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
2d4f8cd3a6 switch to single tilde syntax 2020-09-10 12:31:26 +02:00
Hans Pagel
d043efe923 test the strikes extension, enable the interactive demo 2020-09-10 12:27:27 +02:00
Hans Pagel
c2570d6adc improve the hardbreak demo and add tests 2020-09-10 12:11:42 +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
868ffb4d66 add the strike extension documentation 2020-09-10 11:53:03 +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
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
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
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
0efab21338 write about the paragraph extension 2020-09-09 16:12:39 +02:00
Hans Pagel
cc7a448474 write about the Document extension 2020-09-09 15:58:06 +02:00
Hans Pagel
94ca32478a improve focus example 2020-09-09 15:25:00 +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
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
9ce234f18f skip failing tests 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
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
225c3b0e3c skip failing tests 2020-09-08 14:25:58 +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
7525ff5726 improve the generateHtml example 2020-09-04 12:02:37 +02:00
Hans Pagel
e94714a345 add getSchema & getHtml utility functions to generate HTML from a ProseMirror/tiptap document, without an Editor instance 2020-09-04 11:23:04 +02:00
Hans Pagel
5c470caefc update the history extension page, add a demo with tests 2020-09-02 15:48:02 +02:00
Hans Pagel
819052912d add code extension demo with tests 2020-09-02 15:26:46 +02:00
Hans Pagel
bdbf6e7f61 add test to the italic extension demo 2020-09-02 15:20:46 +02:00
Hans Pagel
b394f8619d add tests to the bold extension demo 2020-09-02 15:20:23 +02:00
Hans Pagel
efdbfb5809 add an example for markdown shortcuts, including (breaking) tests 2020-09-01 16:30:25 +02:00
Hans Pagel
715daf96dc fix tests 2020-09-01 15:45:05 +02:00
Hans Pagel
ccdb0c7f89 add a history example with tests 2020-08-31 18:11:17 +02:00
Hans Pagel
ae7c5fa834 add a draft state to the sidebar 2020-08-31 17:50:13 +02:00
Hans Pagel
f8e907783d add content to the extensions overview, improve the basic example 2020-08-31 17:34:09 +02:00
Hans Pagel
674d66d82f add buttons for all default extensions to the basic example 2020-08-31 14:56:28 +02:00
Hans Pagel
69a56e5473 add minimalist example 2020-08-31 14:47:53 +02:00
Hans Pagel
20237f353b move everything around 2020-08-28 13:20:49 +02:00
Philipp Kühn
71c3927b28 add focus extension 2020-08-21 17:32:47 +02:00
Hans Pagel
ecd95b8c71 improve extensions documentation, add italic documentation 2020-08-20 21:25:15 +02:00
Hans Pagel
161d110c3a make the bold extension example interactive 2020-08-20 18:11:35 +02:00
Hans Pagel
c6dcacdc19 add tests to export html and json 2020-08-20 18:00:35 +02:00
Hans Pagel
f421285eb3 remove headline from export example 2020-08-20 17:57:09 +02:00
Hans Pagel
e2642526a0 add export html or json example 2020-08-20 17:53:28 +02:00