Commit Graph

442 Commits

Author SHA1 Message Date
fantasticit 29a461bf6c tiptap: fix click task list 2022-05-09 17:35:35 +08:00
fantasticit ef5e45aec1 tiptap: fix list 2022-05-09 17:00:05 +08:00
fantasticit 7ac3355cc2 feat: update document style 2022-05-09 16:25:09 +08:00
fantasticit d5b3ea24de tiptap: fix menu 2022-05-09 16:04:55 +08:00
fantasticit 7e0d145ce9 tiptap: fix bubble menu 2022-05-09 15:26:47 +08:00
fantasticit a06c795360 tiptap: improve table 2022-05-09 15:07:23 +08:00
fantasticit b4764e11b7 tiptap: fix delete table 2022-05-07 10:35:48 +08:00
fantasticit bb814f93a8 feat: update createUser style 2022-05-06 23:58:26 +08:00
fantasticit 833e845503 fix: remove unused code 2022-05-06 23:58:14 +08:00
fantasticit 009d7782a4 fix: fix copy text 2022-05-06 23:57:55 +08:00
fantasticit c03d1ab00d fix: fix get recent documents 2022-05-06 23:15:30 +08:00
fantasticit 1754841fa1 tiptap: add debounce in onAwarenessUpdate 2022-05-06 23:14:33 +08:00
fantasticit 0b77a58d86 titap: fix unset color 2022-05-06 10:00:35 +08:00
fantasticit bb1924e89b tiptap: remove scroll 2022-05-05 17:48:21 +08:00
fantasticit 514873f31a tiptap: fix bubble menu blur when editing some node 2022-05-05 17:47:22 +08:00
fantasticit b8a91a7d0c fix: fix auto scroll editor 2022-05-05 11:18:40 +08:00
fantasticit 549aff2cd6 feat: improve ux 2022-05-05 10:32:47 +08:00
fantasticit 59b5fc3539 fix: fix get active documents ids 2022-05-05 10:32:30 +08:00
fantasticit b46f932663 fix: fix edit link 2022-05-04 19:58:56 +08:00
fantasticit 07434076e4 fix: fix collapse btn style 2022-05-04 19:58:46 +08:00
fantasticit eba4d8020b fix: fix style, add loading 2022-05-04 19:51:49 +08:00
fantasticit 9dd80bf5d4 fix: add image-viewer, update float button right position 2022-05-04 19:37:33 +08:00
fantasticit ba7cfd5b37 fix: fix initial width 2022-05-04 19:27:47 +08:00
fantasticit ae552e192c fix: delete auto scroll 2022-05-04 19:19:50 +08:00
fantasticit 680303c078 fix: fix server url 2022-05-04 17:34:38 +08:00
fantasticit daa53db358 fix: fix import 2022-05-04 17:28:01 +08:00
fantasticit 12379571cb feat: imporve editor mobile ux 2022-05-04 17:20:06 +08:00
fantasticit ef61f1bdf3 refactor: improve mobile ux 2022-05-04 14:50:58 +08:00
fantasticit af358c1e04 fix: fix layout drag width 2022-05-04 12:07:09 +08:00
fantasticit faf83ad35b fix: render author of document 2022-05-04 01:00:28 +08:00
fantasticit 8cbfbd71d1 refactor: improve tiptap 2022-05-04 00:52:33 +08:00
fantasticit a85132b30c
Delete Recent.tsx 2022-05-03 12:33:59 +08:00
fantasticit 54f2b2ca88
Delete Wiki.tsx 2022-05-03 12:33:49 +08:00
fantasticit b6a02854a4
Delete Placeholder.tsx 2022-05-03 12:33:39 +08:00
fantasticit 80a69bbeca
Delete Placeholder.tsx 2022-05-03 12:33:20 +08:00
fantasticit a4a2205d11 tiptap: fix https://github.com/ueberdosis/tiptap/issues/1451 2022-05-02 17:59:47 +08:00
fantasticit abb1a3868b fix: memo editor 2022-05-02 17:46:46 +08:00
fantasticit 5540c0dfab fix: fix the moment to delete provider 2022-05-02 17:29:22 +08:00
fantasticit 344cc5b05c tiptap: fix get isEditable 2022-05-02 16:15:09 +08:00
fantasticit 8d1a967bad refactor: remove unused code 2022-05-02 16:09:14 +08:00
fantasticit b5172a8861 tiptap: fix isEditable 2022-05-02 16:09:01 +08:00
fantasticit 578753c1f6 refactor: remove unused code 2022-05-02 15:31:03 +08:00
fantasticit d2bec0f448 refactor: improve performence 2022-05-02 15:30:22 +08:00
fantasticit 5c0d9f54e4 refactor: improve render performence 2022-05-02 13:57:56 +08:00
fantasticit 5681cc7bd8 client: remove kity 2022-05-02 00:26:06 +08:00
fantasticit 2916373489 Update toolbar.scss 2022-05-02 00:25:54 +08:00
fantasticit 8a1da277f5 refactor: add eslint 2022-05-02 00:15:13 +08:00
fantasticit 881b1c6846 fix: add key 2022-05-01 23:04:53 +08:00
fantasticit d0165bad1e refactor: lint code 2022-05-01 23:04:33 +08:00
fantasticit 76cdcff589 refactor: lint code 2022-05-01 22:07:22 +08:00
fantasticit e934abf0b7 tiptap: fix mind context menu dark style, add collapse button in toolbar 2022-05-01 20:28:33 +08:00
fantasticit 1c0597321e Update lock.scss 2022-05-01 14:30:43 +08:00
fantasticit 5024109572 tiptap: fix update mind 2022-05-01 14:30:35 +08:00
fantasticit 8e5b348707 refactor: remove unused code 2022-05-01 13:28:18 +08:00
fantasticit 342fae0398 tiptap: remove emoji-picker when editor is not editable 2022-05-01 13:28:06 +08:00
fantasticit 9f5b3f4054 tiptap: use clone 2022-05-01 13:27:19 +08:00
fantasticit ca41b31eea tiptap: fix mind wrap style 2022-05-01 13:12:29 +08:00
fantasticit dc77d730f2 fix: set width to be 100% if it is equal with maxWidth 2022-05-01 13:12:14 +08:00
fantasticit c1a4e4b35e tiptap: improve mind operations 2022-05-01 13:06:16 +08:00
fantasticit a7d3ff0005 Delete excel.tsx 2022-04-30 22:07:02 +08:00
fantasticit 803612a5c5 tiptap: improve mind 2022-04-30 22:03:28 +08:00
fantasticit 2f6713144e tiptap: use mind elixir 2022-04-30 22:03:06 +08:00
fantasticit 30815381ef tiptap: prevent keyboard event in mind 2022-04-30 13:22:40 +08:00
fantasticit 2123dbbc32 refactor: remove console 2022-04-29 17:17:43 +08:00
fantasticit 9b71742869 fix: fix zIndex 2022-04-29 17:17:30 +08:00
fantasticit 585e0aa7a6 tiptap: fix indent 2022-04-29 17:11:57 +08:00
fantasticit 473e2958c0 tiptap: fix copy selection node 2022-04-29 17:10:23 +08:00
fantasticit cc3efef3f1 tiptap: improve copy paste 2022-04-29 15:55:32 +08:00
fantasticit a066cea4a7 tiptap: refactor utils 2022-04-29 11:56:44 +08:00
fantasticit 6d0a596496 tiptap: remove unused code 2022-04-27 22:25:01 +08:00
fantasticit 733a4910e9 tiptap: improve resizable 2022-04-27 22:24:30 +08:00
fantasticit bf913734ea tiptap: fix get editor element clientWidth 2022-04-27 21:35:17 +08:00
fantasticit aac6238263 tiptap: improve 2022-04-27 21:21:24 +08:00
fantasticit 775172a61c tiptap: support just disable edit 2022-04-27 16:39:31 +08:00
fantasticit 2ad45a880e tiptap: fix mind toolbar 2022-04-27 16:23:14 +08:00
fantasticit a9eefd3c37 tiptap: fix lock node 2022-04-27 14:43:38 +08:00
fantasticit c65a519945 tiptap: fix node width 2022-04-27 14:35:28 +08:00
fantasticit 2095cafec2 refactor: use re-resizeable 2022-04-27 13:01:09 +08:00
fantasticit bcde9ce598 fix: fix dark style 2022-04-27 13:00:31 +08:00
fantasticit a5a4d95c1b tiptap: only auto show picker when user is author 2022-04-27 12:11:03 +08:00
fantasticit 2643c5a42e Update lock.scss 2022-04-27 11:47:14 +08:00
fantasticit cfc9356aa0 tiptap: lock atom node if someone is editing it 2022-04-27 11:47:06 +08:00
fantasticit d7a7527a8f tiptap: disable edit mind if is not editable 2022-04-26 19:34:39 +08:00
fantasticit c5462efcb4 tiptap: fix resize container size 2022-04-26 19:14:01 +08:00
fantasticit 2e6a013203 tiptap: add center method in mind 2022-04-26 19:13:37 +08:00
fantasticit 08860dffee Update bubble.module.scss 2022-04-26 16:21:19 +08:00
fantasticit 337c3d172a tiptap: enhance mind 2022-04-26 16:21:07 +08:00
fantasticit 59b2965b79 tiptap: refactor mind 2022-04-26 14:05:16 +08:00
fantasticit ad7b9db5d4 tiptap: fix mind maxWidth 2022-04-26 09:06:37 +08:00
fantasticit 4f9a9842cd fix: prevent body flashing 2022-04-26 08:57:34 +08:00
fantasticit 758f376a16 tiptap: fix tooltip style 2022-04-26 08:53:50 +08:00
fantasticit ae9961ec45 tiptap: fix emoji-picker trigger 2022-04-26 08:43:26 +08:00
fantasticit 4fac550c5c tiptap: update bubble menu max-width 2022-04-26 08:40:04 +08:00
fantasticit 4b31a98f90 fix: update min width to show logo text 2022-04-25 23:23:34 +08:00
fantasticit dc68fb0535 Update reset.scss 2022-04-25 23:23:10 +08:00
fantasticit c932af5d0a fix: fix body height 2022-04-25 23:22:57 +08:00
fantasticit 180eec9c19 fix: use theme global 2022-04-25 21:54:59 +08:00
fantasticit bdd498b9df refactor: update style 2022-04-25 21:54:46 +08:00
fantasticit ec726f4c59 fix: fix height style 2022-04-25 21:54:31 +08:00
fantasticit de7954bb2a tiptap: update document-reference bubble menu ui 2022-04-25 21:13:34 +08:00
fantasticit 5b96e73aa5 fix: fix katex height style 2022-04-25 21:13:12 +08:00
fantasticit 8d9926f4e8 tiptap: use lru-cache in insert menu 2022-04-25 21:12:49 +08:00
fantasticit 762ac3a3f5 feat: use lru-cache in emoji-picker 2022-04-25 21:12:26 +08:00
fantasticit 3a284ad903 fix: fix callout 2022-04-25 15:35:31 +08:00
fantasticit c1ddc14a32 Update reset.scss 2022-04-25 15:28:48 +08:00
fantasticit 5985f216da feat: custom scroll bar style 2022-04-25 15:28:38 +08:00
fantasticit 955e8a066b feat: show edit float button early 2022-04-25 14:54:37 +08:00
fantasticit a9d67dbd9f tiptap: update callout default emoji 2022-04-25 14:38:52 +08:00
fantasticit 902608d496 feat: enhance emoji-picker 2022-04-25 14:38:34 +08:00
fantasticit 2affaa5987 refactor: use common emoji-picker 2022-04-25 14:05:53 +08:00
fantasticit a9ec9acb0b refactor: update style 2022-04-25 14:01:52 +08:00
fantasticit 20db8fcf57 refactor: rename banner to callout 2022-04-25 14:01:39 +08:00
fantasticit 1786e21fc8 refactor: update style 2022-04-25 13:45:31 +08:00
fantasticit 4147f3821a tiptap: improve banner 2022-04-25 13:45:15 +08:00
fantasticit 367800c24f refactor: update style 2022-04-25 10:55:50 +08:00
fantasticit 8aaaf21311 fix: ketex wrap style 2022-04-25 10:55:30 +08:00
fantasticit e5d0cf1fdd fix: status selection style 2022-04-25 10:55:14 +08:00
fantasticit f89c1051db feat: add defaultShowPicker for katex 2022-04-25 10:54:38 +08:00
fantasticit c9d4fd5127 tiptap: improve document-reference menu 2022-04-25 10:37:25 +08:00
fantasticit 9042da011f fix: fix comment extensions 2022-04-25 09:56:20 +08:00
fantasticit 7d1afdd394 tiptap: improve heading style 2022-04-25 09:55:59 +08:00
fantasticit 8f9cecf277 feat: improve log message 2022-04-25 09:19:48 +08:00
fantasticit 137422b1e0 fix: fix table css 2022-04-24 22:10:33 +08:00
fantasticit e869f9a47a fix: fix pre-commit hook 2022-04-24 22:09:58 +08:00
fantasticit 223a9aa239 fix: fix table margin/padding 2022-04-24 21:20:52 +08:00
fantasticit a67e2d7837 feat: add ctrl+s toast in editor 2022-04-24 21:20:42 +08:00
fantasticit b807f73bc3 feat: add loading in message box 2022-04-24 20:57:43 +08:00
fantasticit ab1dd6f05d feat: revert table for basic user experience 2022-04-24 20:57:24 +08:00
fantasticit 3f5d5be67a fix: only copy plain text 2022-04-24 20:56:39 +08:00
fantasticit 98ba8ce098 feat: insert spaces when tab key down in code-block 2022-04-24 20:56:13 +08:00
fantasticit 3fe45ee80f feat: add quick edit button 2022-04-24 20:55:40 +08:00
fantasticit 43aea84f7f fix: increase priority for quick-insert, emoji 2022-04-16 09:07:06 +08:00
fantasticit 9726cddfd4 feat: use react-lazy-load-image-component 2022-04-13 20:57:13 +08:00
fantasticit ba50a54e9b refactor: use global css variable 2022-04-13 20:49:38 +08:00
fantasticit 2d89d2057b refactor: memorize function 2022-04-13 20:31:57 +08:00
fantasticit 0337629d75 feat: use lazyload image 2022-04-13 20:30:03 +08:00
fantasticit f1b039a687 fix: fix seo title 2022-04-13 09:06:04 +08:00
fantasticit 3e0d8a4781 fix: update delay default to 200 2022-04-13 09:05:57 +08:00
fantasticit f4e583b2e7 feat: display loading after a delay time 2022-04-13 08:46:31 +08:00
fantasticit d4ea2bf7e5 feat: update unauthorized exception message 2022-04-13 08:44:16 +08:00
fantasticit b536166a0a fix: fix get children document 2022-04-12 15:32:15 +08:00
fantasticit f7fcc71a99 fix: fix get document children 2022-04-12 15:29:39 +08:00
fantasticit 1a9b565572 fix: fix guard 2022-04-11 22:24:09 +08:00
fantasticit 806467c5e4 fix: check is user login 2022-04-11 22:06:45 +08:00
fantasticit 85a79127b0 fix: fix js error 2022-04-11 22:01:51 +08:00
fantasticit b598c33fc5 feat: improve status 2022-04-10 11:47:55 +08:00
fantasticit 5db270dcf6 feat: improve status 2022-04-10 11:34:25 +08:00
fantasticit 1756161ead feat: mention markdown support 2022-04-05 14:01:51 +08:00
fantasticit 57146873e7 fix: remove unused code 2022-04-05 13:46:08 +08:00
fantasticit 56fa309285 fix: remove unused code 2022-04-05 13:45:13 +08:00
fantasticit a4923f7834 Merge branch 'main' of https://github.com/fantasticit/think 2022-04-05 13:37:40 +08:00
fantasticit dbbb7ead56 fix: update guard message 2022-04-05 13:37:23 +08:00
fantasticit 4b151c3d8b feat: support mention 2022-04-05 13:33:45 +08:00
fantasticit 6496422754 fix: fix loading state container height too small 2022-04-04 22:01:27 +08:00
fantasticit 537b114f17 fix: add meta in _app 2022-04-04 21:54:35 +08:00
fantasticit e90330ad9d refactor: refactor tiptap 2022-04-04 21:53:51 +08:00
fantasticit 52329d92f0 refactor: use guard 2022-04-04 21:42:52 +08:00
fantasticit dffbc3e464 fix: fix dark style 2022-04-04 21:42:43 +08:00
fantasticit de77948d68 feat: add auth fail error 2022-04-04 21:42:33 +08:00
fantasticit c39e89b81a fix: fix style on mobile 2022-04-03 20:54:18 +08:00
fantasticit 719f3ab4cc fix: fix style for mobile display 2022-04-03 20:22:03 +08:00
fantasticit a3f07e05a8 feat: improve img style 2022-04-03 20:21:48 +08:00
fantasticit c5adad8b37 feat: add banner menu 2022-04-03 20:21:36 +08:00
fantasticit 6fbcb4f127 feat: refactor menu, improve link, add countdown 2022-04-03 15:40:28 +08:00
fantasticit c18a327b80 feat: now we can insert countdown in editor 2022-04-03 13:10:14 +08:00
fantasticit dadc08c39a feat:improve katex popup position 2022-04-03 11:36:45 +08:00
fantasticit daa0849e1e fix: fix unset link 2022-04-03 11:36:29 +08:00
fantasticit f2ce4b01b3 feat: improve mind menu 2022-04-03 11:36:21 +08:00
fantasticit 0a6bed7c7d fix: remove unused code 2022-04-03 11:36:09 +08:00
fantasticit d515543444 fix: sync title in template editor 2022-04-03 11:13:21 +08:00
fantasticit 11ce42dbe3 feat: add global event center 2022-04-03 11:06:21 +08:00
fantasticit a8d9f41734 feat: improve tocs event 2022-04-03 10:46:12 +08:00
fantasticit 6113ecc101 feat: improve loading state content 2022-04-03 10:29:44 +08:00
fantasticit da0f601423 feat: update share content 2022-04-02 22:09:54 +08:00
fantasticit 9bea9c35b6 feat: improve link and iframe menu 2022-04-02 21:12:15 +08:00
fantasticit 666ee01a01 feat: update IDocument 2022-04-02 17:57:30 +08:00
fantasticit b40edbd04f fix: fix style 2022-04-02 17:57:20 +08:00
fantasticit 28f7c21b54 feat: resolve image size 2022-04-02 17:57:10 +08:00
fantasticit ffd8041046 feat: add comment kit 2022-04-02 17:56:45 +08:00
fantasticit b778d9feaa feat: add divider component 2022-04-02 17:56:37 +08:00
fantasticit 1ef72c936a feat: add comment kit 2022-04-02 17:56:21 +08:00
fantasticit a1e1508bbe fix: no necessary to use pm2 cluster 2022-04-01 22:16:34 +08:00
fantasticit bf2c55b0fb feat: improve color 2022-04-01 21:33:06 +08:00
fantasticit 9b47b81374 fix: fix custom node wrapper select 2022-04-01 19:36:26 +08:00
fantasticit 39cf943eaa feat: support preview pdf, image, audio and video 2022-04-01 16:48:07 +08:00
fantasticit b290a2305d fix: fix selection style 2022-04-01 15:03:05 +08:00
fantasticit 5a668a863b fix: fix render image 2022-04-01 15:02:52 +08:00
fantasticit 4c071a5573 fix: ?<= not work at safari 2022-04-01 15:02:43 +08:00
fantasticit bcbf965f2b fix: fix style 2022-04-01 12:54:48 +08:00
fantasticit 8956e9ed87
Delete blockQuote.ts 2022-04-01 12:15:46 +08:00
fantasticit 6b7a6d648f refactor: format code 2022-04-01 12:13:23 +08:00
fantasticit 8b098285f9 feat: support selecton in banner 2022-04-01 12:08:16 +08:00
fantasticit 8022d937c2 feat: improve selection in code block 2022-03-31 23:08:54 +08:00
fantasticit 704be3b435 fix: fix filename style 2022-03-31 23:08:28 +08:00
fantasticit 1bf7666e83 fix: won't change title if is data is deleted 2022-03-31 23:08:16 +08:00
fantasticit 4ea4d2859b fix: do not show bubble menu in code block 2022-03-31 23:07:33 +08:00
fantasticit 468709cee0 fix: remove disconnect code before bestroy 2022-03-31 23:07:00 +08:00
fantasticit f329b68822 fix: fix node border style in dark mode 2022-03-31 23:06:34 +08:00
fantasticit 5c84aa1211 fix: use default empty content for editor 2022-03-31 23:06:16 +08:00
fantasticit 9fe447f88b fix: do't transform big file to base64 2022-03-31 23:05:50 +08:00