Commit Graph

194 Commits

Author SHA1 Message Date
Chrissi2812
016ea8f86b
use internal variable for commands to determine if search should update
Prior to this if search was closed (searching: false) the commands won't do anything.
2019-05-29 12:46:36 +02:00
Chrissi2812
a42d0113e0
add clearSearch command 2019-05-29 12:25:50 +02:00
Chrissi2812
d3514c3d36
add option to always update search results 2019-05-29 12:24:46 +02:00
Chrissi2812
0e5aa7f116
add option to disable regex searches 2019-05-29 11:25:26 +02:00
Chrissi2812
0476d35599
fix infinite loop on some RegExp 2019-05-29 11:21:40 +02:00
Chrissi2812
87995cb93c
fix decoration not updating if searching and doc changes 2019-05-29 11:05:18 +02:00
Chrissi2812
f19b5c8f34
add toggleSearch event 2019-05-28 13:52:40 +02:00
Chrissi2812
331ba1c36b
search across marks 2019-05-28 13:52:13 +02:00
Chrissi2812
753fc76324
fix search highlight on doc change 2019-05-28 13:51:37 +02:00
Chrissi2812
fc617a4d32
add text search 2019-05-23 17:53:27 +02:00
Philipp Kühn
5c81cddff9 remove editable prop, fix #223 2019-05-21 21:22:15 +02:00
Philipp Kühn
53b1d0d4df fix bug in suggestions plugin, fix #176 2019-05-21 00:11:26 +02:00
Chrissi2812
9a86801973
change table resizable default to false 2019-05-15 10:43:34 +02:00
Chrissi2812
20bcffc94a
change order of methods to match other extensions 2019-05-15 09:52:09 +02:00
Chrissi2812
39f942aca8
adding option to disable resizing of tables
closes #310
2019-05-15 09:38:16 +02:00
Philipp Kühn
b61bec8bb9 fix #311 2019-05-13 23:27:31 +02:00
Philipp Kühn
80144815a9 pass editor to sendable hook 2019-05-10 15:37:21 +02:00
Philipp Kühn
a1f94056cf do not allow other marks within code 2019-05-10 14:56:50 +02:00
Philipp Kühn
4c6ec7a231
Merge pull request #285 from StickyKnow/fix-italic-rules
fix pasteRules and InputRules for italic mark
2019-05-09 10:33:21 +02:00
Christoph Flathmann
5d2fac08f1
Merge branch 'master' into issue-232 2019-05-08 13:34:12 +02:00
Chrissi2812
1332a24ad6
use splitToDefaultListItem again in todo_item
splitToDefaultListItem didn't worked before with nested todos
because of a missing import statement
2019-05-08 13:27:08 +02:00
Chrissi2812
fc41ff36de
allow nested todo_lists via options on todo_item 2019-05-08 12:26:13 +02:00
Marius Tolzmann
98cf0e425a fix markInputRules for italics mark
add another layer of matching by introducing support for second match group
since javascript (at least in current browsers) still lacks lookbehind in regex

so now supports

/nomatch(markstart(text)markend)nomatch/ and still supports the
/markstart(text)markend/ syntax

all `nomatch` will be kept as is so kindof simulating lookbehinds
2019-05-07 23:08:06 +02:00
Marius Tolzmann
b0c28da3c1 fix pasteRules for italic mark
fixes #284
2019-05-07 17:14:13 +02:00
Chrissi2812
ff445f13aa
no nested blocks in TodoItem 2019-05-07 15:47:48 +02:00
Chrissi2812
16963175c7
fix TransformError: Inconsistent open depths on TodoItems 2019-05-07 13:14:00 +02:00
Philipp Kühn
b70c8d235c
Merge pull request #287 from StickyKnow/fix-link-pattern
fix link pattern to also detect new (longer) top level domains
2019-05-07 07:50:18 +02:00
Philipp Kühn
d0da644b90 remove @babel/plugin-proposal-class-properties 2019-05-06 10:27:40 +02:00
Marius Tolzmann
d8cc84bde9 fix link pattern to also detect new (longer) top level domains 2019-05-06 06:46:10 +02:00
Philipp Kühn
76dca53d80 send only json steps 2019-05-05 21:47:52 +02:00
Philipp Kühn
055d72be26 wording 2019-05-04 12:21:16 +02:00
Philipp Kühn
fc42cba033 remove lodash 2019-05-04 12:20:34 +02:00
Philipp Kühn
0a98827b4c refactoring 2019-05-04 10:54:53 +02:00
Philipp Kühn
55e5a4a3ae move collab extension 2019-05-04 00:25:14 +02:00
Chrissi2812
e768dc24c8
fixes #232: Clicking toolbar TodoItem lifts TodoItem 2019-05-03 10:31:27 +02:00
Chrissi2812
44dc5337dc
fix #275: link click handler no longer open on selection click 2019-04-29 15:24:03 +02:00
Philipp Kühn
cd0d00d604 open links by default 2019-04-17 23:33:10 +02:00
Philipp Kühn
6e21b43c82 fix missing update event, fix #260 2019-04-15 17:22:06 +02:00
Philipp Kühn
d411863bbd
Merge pull request #213 from MatheusRich/add-support-to-history-custom-settings
Add support to history custom settings
2019-03-06 06:50:13 +01:00
Matheus Richard
0b83723a6b add support to history custom settings 2019-03-04 18:37:18 -03:00
Chrissi2812
0f44e74d1e
fixed placeholder change corrupts current state 2019-02-26 11:42:07 +01:00
Chrissi2812
5b77907211
add update method to placeholder 2019-02-25 16:23:31 +01:00
Philipp Kühn
4e4c2dd0b9 refactoring 2019-02-06 15:21:04 +01:00
Philipp Kühn
f8f46b4f97 replace some names 2019-02-06 15:09:53 +01:00
Philipp Kühn
71ab0e0c9d move highlight plugin to its own file 2019-02-06 15:09:12 +01:00
Philipp Kühn
59d37f5697 fix code decorations again 2019-02-06 12:05:12 +01:00
Philipp Kühn
9b90d6437e do not show placeholder if non editable 2019-02-06 11:28:40 +01:00
Philipp Kühn
d9b2e2054d
Merge branch 'master' into markdown-paste 2019-02-01 17:56:22 +01:00
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