Commit Graph

362 Commits

Author SHA1 Message Date
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
bed5e6bb83 fix text align example 2018-10-30 00:00:08 +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
340b1b2266 refactoring 2018-10-28 22:28:02 +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
804b44b146 fix links example 2018-10-23 23:21:45 +02:00
Philipp Kühn
a84e71cc2a fix suggestions example 2018-10-23 23:16:51 +02:00
Philipp Kühn
e66debc823 fix code highlighting example 2018-10-23 23:12:56 +02:00
Philipp Kühn
0c9d481cd2 fix export example 2018-10-23 23:05:15 +02:00
Philipp Kühn
b7e915015c fix some examples 2018-10-23 22:50:12 +02:00
Philipp Kühn
aecf2284e9 move some functions 2018-10-23 20:49:30 +02:00
Philipp Kühn
e51abf11fd fix image example 2018-10-22 21:46:45 +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
287a2bc523 add more buttons to floating menu 2018-10-14 09:05:04 +02:00
Philipp Kühn
82f3fbc674 fix default style for floating menu 2018-10-14 08:57:31 +02:00
Philipp Kühn
7969a76a6b add transition to floating menu 2018-10-14 08:56:26 +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
Philipp Kühn
b6039c7e6a
Merge pull request #62 from erickwilder/use-explicit-syntax-highlith-mappings
refactor(tiptap-extensions): Do not import the full `lowlight` library.
2018-10-13 18:18:42 +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
27fa310937 add blockquote button to demo 2018-10-10 14:48:44 +02:00
Philipp Kühn
37e7eb9625 Publish
- tiptap-extensions@0.18.1
 - tiptap@0.16.1
2018-10-07 20:22:43 +02:00