Commit Graph

504 Commits

Author SHA1 Message Date
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 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 f7fcc71a99 fix: fix get document children 2022-04-12 15:29:39 +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 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 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 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 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 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
fantasticit 2b224b1246 fix: fix duplicate key 2022-03-31 23:05:02 +08:00
fantasticit 2cf7c84287 fix: fix render image markdown text 2022-03-31 01:23:55 +08:00
fantasticit cf32d425db feat: add IconGlobe 2022-03-30 14:33:38 +08:00
fantasticit 253e07e6db feat: add taskItemClickable options 2022-03-30 14:24:53 +08:00
fantasticit a4167fe603 feat: improve date version, add empty content 2022-03-30 13:57:50 +08:00
fantasticit 733282d84b fix: collapsed when window width less than 765 2022-03-30 13:57:29 +08:00
fantasticit d84603c54f feat: document version support 2022-03-30 12:25:08 +08:00
fantasticit dbd257caa6 feat: document version 2022-03-29 22:23:41 +08:00
fantasticit f2be70396c fix: fix style 2022-03-29 15:40:11 +08:00
fantasticit 080bb1eb55 fix: fix enter in title 2022-03-29 15:36:23 +08:00
fantasticit 2a2644ef66 fix: fix enter at title end 2022-03-29 15:33:21 +08:00
fantasticit 4a4d0d2133 fix: disable enter keyevent in title 2022-03-29 14:54:51 +08:00
fantasticit 6018d2fda9 fix: fix share 2022-03-28 23:00:23 +08:00
fantasticit 04122a2d56 feat: improve share link 2022-03-28 22:51:43 +08:00
fantasticit e2b42c8e80 fix: fix filename case 2022-03-28 22:21:36 +08:00
fantasticit eb5aaad020 refactor 2022-03-28 21:54:31 +08:00
fantasticit 2dbdf3f3ee refactor: format the code 2022-03-27 15:43:06 +08:00
fantasticit 8949af5715 feat: add image viewer support 2022-03-27 14:18:19 +08:00
fantasticit 60a330cdfa feat: update editor 2022-03-26 23:26:48 +08:00
fantasticit f0e7950c5f feat: add sub/sup script support 2022-03-26 20:05:19 +08:00
fantasticit fd4c2de11d feat: improve style 2022-03-26 19:22:14 +08:00
fantasticit c1295d8b6c feat: improve style 2022-03-26 13:50:29 +08:00
fantasticit edd964ab5f feat: improve editor 2022-03-25 17:17:10 +08:00
fantasticit c328f84e5b fix: remove unused code 2022-03-24 21:39:34 +08:00
fantasticit cd22f259fa feat: improve tiptap editor 2022-03-24 21:37:32 +08:00
fantasticit 2ad6518a51 feat: add support for offline edit 2022-03-24 17:23:47 +08:00
fantasticit 938573d2b2 close #6 2022-03-24 12:57:28 +08:00
fantasticit c622ecb30d close #4 2022-03-24 00:18:44 +08:00
fantasticit 612754fe4b feat: improve editor 2022-03-23 20:42:47 +08:00
fantasticit 3f981d44b0 feat: improve editor 2022-03-23 18:08:07 +08:00
fantasticit 9ddab5a134 feat: improve copy paste 2022-03-22 20:31:21 +08:00
fantasticit 187cdaf17c feat: html -> prosemirror node 2022-03-22 17:28:53 +08:00
fantasticit 67a5ae54cf fix: fix wrapped tooltip not trigger mouseleave 2022-03-22 13:58:22 +08:00
fantasticit d71d725dcf feat: use wrapped tooltip 2022-03-22 13:57:27 +08:00
fantasticit fda147c492 fix: fix zIndex 2022-03-22 13:52:29 +08:00
fantasticit 9bda18a4e5 refactor: format code 2022-03-22 13:37:53 +08:00
fantasticit b14833c79f fix: use parentNode rect first 2022-03-22 13:37:14 +08:00
fantasticit c50a520529 fix: make memubar zIndex bigger 2022-03-22 13:36:58 +08:00
fantasticit 90e8acd065 fix: remove unused code 2022-03-22 13:08:05 +08:00
fantasticit 54cc57bb1b feat: improve tiptap 2022-03-22 12:58:46 +08:00
fantasticit ea7da9d6a3 fix: show image bubble menu when there is a src 2022-03-22 12:44:30 +08:00
fantasticit 0e54e4af65 feat: improve tiptap 2022-03-22 12:43:03 +08:00
fantasticit e211f07794 fix: fix comment editor 2022-03-22 12:42:31 +08:00
fantasticit 4c9838e29e fix: fix comment editor 2022-03-22 12:42:12 +08:00
fantasticit 1edcdd5513 fix: fix render createUser 2022-03-22 11:41:04 +08:00
fantasticit 72c3b2f8ac feat: improve tiptap 2022-03-21 19:55:06 +08:00
fantasticit b58f9449e0 feat: improve tiptap 2022-03-21 17:54:54 +08:00
fantasticit f68303720f feat: improve tiptap 2022-03-21 16:46:27 +08:00
fantasticit ea34e23422 feat: improve tiptap 2022-03-21 00:39:55 +08:00
fantasticit 1835f8504b feat: improve tiptap 2022-03-20 21:21:16 +08:00
fantasticit cc30e00984 feat: improve editor 2022-03-20 17:46:29 +08:00
fantasticit c8c370e0cb fix: remove console 2022-03-19 16:22:46 +08:00
fantasticit 2c4b3d5598 fix: remove unused code 2022-03-19 16:22:26 +08:00
fantasticit 511953ce79 refactor: refactor the tiptap code 2022-03-19 16:12:12 +08:00
fantasticit 1f90942823 fix: fix style 2022-03-19 16:05:18 +08:00
fantasticit c94fe79804 refactor: refactor the tiptap code 2022-03-19 15:58:14 +08:00
fantasticit 0970b00cb1 fix: fix search height 2022-03-18 17:26:41 +08:00
fantasticit 3826ec4a78 fix: improve pagination 2022-03-18 17:18:13 +08:00
fantasticit 6fba1e4394 fix: fix margin 2022-03-18 17:17:17 +08:00
fantasticit e7031776a8 feat: now we can see all public wikis 2022-03-18 17:09:00 +08:00
fantasticit 94425befcf feat: width, height support for image 2022-03-13 12:13:42 +08:00
fantasticit c9c5badbb5 fix: fix tiptap extension 2022-03-12 18:32:59 +08:00
fantasticit 242afc277d fix: fix style 2022-03-12 17:52:19 +08:00
fantasticit 5735222778 fix: fix refresh tocs 2022-03-12 17:52:03 +08:00
fantasticit 40b5cb0c0b feat: update style 2022-03-12 13:44:38 +08:00
fantasticit 877b065291 fix: fix get document 2022-03-12 12:49:33 +08:00
fantasticit d10d44abf6 fix: fix type 2022-03-12 12:17:53 +08:00
fantasticit 6c716b0dc2 chore: format code 2022-03-12 11:27:56 +08:00
fantasticit f629eedbb0 chore: format code 2022-03-12 10:31:03 +08:00
fantasticit b13dd26d9a feat: improve search 2022-03-12 10:24:34 +08:00
fantasticit c0235cdd0a fix: only fetch wiki tocs with wikiId change 2022-03-11 19:38:17 +08:00
fantasticit eb49ffa20b fix: fix text style 2022-03-11 19:37:43 +08:00
fantasticit 75a7c6952d fix: fix trailing-node and title 2022-03-11 19:37:33 +08:00
fantasticit 9d5f37820a fix: refresh message every 200ms 2022-03-11 14:24:54 +08:00
fantasticit 8f212d97de fix: fix type error 2022-03-11 14:24:09 +08:00
fantasticit db52047c99 chore: refactor 2022-03-11 13:57:55 +08:00
fantasticit c12e6b1bb2 feat(root): update code font-family 2022-02-22 23:35:26 +08:00
fantasticit 28736a5881 fix(client): don't import config in runtime 2022-02-22 23:22:39 +08:00
fantasticit 004236e12f fix(client): only template creator can edit 2022-02-21 09:05:27 +08:00
fantasticit 306d7765ec root: upload source code 2022-02-20 19:51:55 +08:00