Commit Graph

196 Commits

Author SHA1 Message Date
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
Philipp Kühn
fce6d9dac9 improve performance for codeblocks with highlight.js 2019-01-31 11:46:32 +01:00
Philipp Kühn
3b87dc9e57 add horizontal rule, fix #170 2019-01-19 09:57:46 +01:00
Philipp Kühn
8197b0d3bb activate draggable for todo items 2018-12-20 10:33:47 +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
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
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
06b7446f2a add mention command 2018-11-22 22:48:06 +01:00
Philipp Kühn
21c8ad852a improve link handling 2018-11-14 15:55:13 +01:00
Philipp Kühn
0eba7b48b5 fix lint error 2018-11-09 23:01:33 +01:00
Philipp Kühn
f04a6be6c1 tabs to spaces whitespace 2018-11-08 22:03:10 +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
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
b7770bb747 fix pasting list items 2018-11-05 23:32:18 +01:00
Philipp Kühn
bc4a5743ff Merge branch 'master' into v1.0 2018-11-04 13:15:11 +01:00
Philipp Kühn
45fa5a01d4 fix char for mentions 2018-11-01 07:44:22 +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
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
fe210f68ed fix toggle blockquotes 2018-10-10 15:08:37 +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
0a3b235bca add appendText option for suggestions 2018-10-02 23:02:07 +02:00
Philipp Kühn
74290ddce2 fix dropping images 2018-10-01 14:24:30 +02:00
Philipp Kühn
a51d9a1b1a fix suggestions in safari browser 2018-09-30 20:20:18 +02:00
Philipp Kühn
efdf45de4c add command for adding images 2018-09-29 22:49:38 +02:00
Philipp Kühn
de75e70e51 rename some args 2018-09-29 13:18:36 +02:00
Philipp Kühn
0ef1bc800e remove semicolons 2018-09-29 13:12:31 +02:00
Philipp Kühn
965aacc9e6 refactoring 2018-09-29 13:11:00 +02:00
Philipp Kühn
33d9972110 add some default options for mentions 2018-09-29 13:09:45 +02:00
Philipp Kühn
ccb11ca876 remove some comments 2018-09-29 13:03:31 +02:00
Philipp Kühn
9ef1e983ff refactoring 2018-09-29 12:55:57 +02:00
Philipp Kühn
640094171e wording 2018-09-29 12:34:11 +02:00
Philipp Kühn
7728ca1de0 refactoring 2018-09-29 12:33:18 +02:00
Philipp Kühn
20466b2819 whitespace 2018-09-29 12:06:14 +02:00
Philipp Kühn
d1df0fcc9c fix suggestion plugin export 2018-09-29 12:00:16 +02:00
Philipp Kühn
1ad2b6aa78 refactoring 2018-09-29 11:57:49 +02:00
Philipp Kühn
4447e9845e refactoring 2018-09-29 09:28:46 +02:00
Philipp Kühn
1e2651066b add tippy tooltips for mentions 2018-09-28 22:39:26 +02:00
Philipp Kühn
5f740da53e remove type from mentions 2018-09-28 13:52:57 +02:00
Philipp Kühn
a60a851fc4 improve styling 2018-09-28 13:46:39 +02:00
Philipp Kühn
f645b9edc0 disable allow spaces for mentions 2018-09-28 13:34:46 +02:00
Philipp Kühn
bfb5783db0 add command to suggestions 2018-09-28 13:31:01 +02:00
Philipp Kühn
56316476a9 move mention filtering to plugin 2018-09-27 11:35:32 +02:00
Philipp Kühn
7c06b73a2d fix copying mentions 2018-09-25 09:18:02 +02:00
Philipp Kühn
07aa821d92 add text and fullText to suggestion callbacks 2018-09-25 09:01:32 +02:00
Philipp Kühn
8b9d94000d code style 2018-09-25 08:53:57 +02:00
Philipp Kühn
a511704f49 add command for mentions 2018-09-25 07:43:21 +02:00
Philipp Kühn
b2e73fc0a4 Merge branch 'master' into feature/suggestions
# Conflicts:
#	examples/Components/App/style.scss
#	examples/Components/Subnavigation/index.vue
#	examples/main.js
#	packages/tiptap-extensions/package.json
2018-09-24 15:44:42 +02:00
Philipp Kühn
f8e79f14b1 remove useless nodeview for links 2018-09-23 08:11:20 +02:00
Philipp Kühn
92515e2ee4 allow for returning an array of multiple commands 2018-09-23 08:04:02 +02:00
Philipp Kühn
e51141eb5e fix class name 2018-09-23 07:58:40 +02:00
Philipp Kühn
2aa7987c5e fix placeholder 2018-09-13 23:57:55 +02:00
Chrissi2812
2b17cabf8f
removed Markdown support for UnderlineMark 2018-09-11 10:36:45 +02:00
Chrissi2812
2489997e91
UnderlineMark added 2018-09-11 10:36:44 +02:00
Philipp Kühn
db61d67156 add placeholder extension 2018-09-06 22:58:54 +02:00
Chrissi2812
e91c76334d
StrikeMark added 2018-09-06 12:29:09 +02:00
Philipp Kühn
20a7a490e9 pass extension option to plugin 2018-09-05 22:09:18 +02:00
Philipp Kühn
82c956dfe9 save decorationNode in state 2018-09-05 21:45:29 +02:00
Philipp Kühn
39072b217d add startOfLine option 2018-09-04 23:26:51 +02:00
Philipp Kühn
0e3810bca0 Merge branch 'master' into feature/suggestions
# Conflicts:
#	packages/tiptap-extensions/package.json
2018-09-04 23:12:00 +02:00
Philipp Kühn
90bf692da3 refactoring 2018-09-04 22:29:32 +02:00
Philipp Kühn
fd2b79206f Merge branch 'master' into feature/code-highlighting 2018-09-04 22:10:36 +02:00
Philipp Kühn
b9ee8e9a28 add splitToDefaultListItem command, fix #3 2018-09-04 13:42:02 +02:00
Philipp Kühn
761e50f41d add something broken 2018-09-03 13:55:45 +02:00
Philipp Kühn
feb79e0648 add basic implementation of hightlight.js 2018-09-02 15:13:57 +02:00
Philipp Kühn
c716fe605f add prosemirror-suggestions 2018-09-01 20:51:17 +02:00
Philipp Kühn
d5f4129835 remove test 2018-08-31 22:36:01 +02:00
Philipp Kühn
1d159a8595 fix image dragging 2018-08-31 21:49:59 +02:00
Philipp Kühn
674d1b03e0 add basic drop support for images 2018-08-31 21:47:11 +02:00
Philipp Kühn
8e2e037828 add basic image support 2018-08-31 20:42:13 +02:00
Philipp Kühn
1de45acef5 fix em input rule 2018-08-27 21:53:12 +02:00
Philipp Kühn
2be2a69f35 change tiptap-extensions export 2018-08-26 19:43:02 +02:00
Philipp Kühn
deb8cb33b0 move history plugin to extension package 2018-08-25 21:33:06 +02:00
Philipp Kühn
8505763d89 remove check for editable in todoitem 2018-08-25 16:45:02 +02:00
Philipp Kühn
25fafd1564 fix em input rule 2018-08-25 00:12:55 +02:00
Philipp Kühn
b61f95a2a7 add markInputRule function 2018-08-24 23:53:49 +02:00
Philipp Kühn
12093446e4 fix blockquote command 2018-08-24 16:44:17 +02:00
Philipp Kühn
e2176f00fd move extensions to own package 2018-08-23 22:08:19 +02:00