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