Commit Graph

545 Commits

Author SHA1 Message Date
Wu Cheng-Han 529c5f6c13 Added support of resizable editor 2015-09-25 18:46:08 +08:00
Wu Cheng-Han b86a695f9c Added support of on changing from view mode to other mode will auto scroll to corresponding position 2015-09-25 18:41:03 +08:00
Wu Cheng-Han 4b81ee9104 Changed permission Editable icon to prevent misunderstanding 2015-09-25 18:38:38 +08:00
Wu Cheng-Han c900703d75 Updated windowResize, page unload, page error and minor some tweaks for performance 2015-09-25 18:37:40 +08:00
Wu Cheng-Han db956cc298 Workaround foldGutter not showing on first view 2015-09-25 18:35:18 +08:00
Wu Cheng-Han b87463ae0d Added timeout on socket 2015-09-25 18:34:34 +08:00
Wu Cheng-Han 3ab04d4f02 Fixed saveInfo and restoreInfo might not get correct window size 2015-09-25 18:34:03 +08:00
Wu Cheng-Han e0ff287652 Fixed toc might not have proper view in some cases 2015-09-25 18:32:33 +08:00
Wu Cheng-Han fb8ead594a Updated resizeView, add or update user cursors to get proper view 2015-09-25 18:30:44 +08:00
Wu Cheng-Han a879b5b5fd Fixed scrollSpy might not set properly on updateView or windowResize 2015-09-25 18:29:01 +08:00
Wu Cheng-Han 4725415acd Changed updateView, now only buildMap on demand 2015-09-25 18:20:06 +08:00
Wu Cheng-Han bb13a98c13 Updated postProcess, link should open in new window or tab 2015-09-25 18:18:21 +08:00
Wu Cheng-Han 2463a5126b Fixed syncScrollToView using wrong variable, added magic number 10 on building scrollMap 2015-09-25 18:17:08 +08:00
Wu Cheng-Han fe3950ec9c Optimized buildMap, now can parse whole doc below 10ms 2015-09-25 18:15:44 +08:00
Wu Cheng-Han 36451ddbe9 Moving markdown parser function from syncscroll.js to extra.js 2015-09-25 18:12:56 +08:00
Wu Cheng-Han 4e358cd6f4 Added back missing list item custom parsing 2015-09-25 18:10:36 +08:00
Wu Cheng-Han fa957db272 Updated updateView, now will updateHistory in editor changes event, support preventSyncScroll and workaround editor might scroll to no where on changes in the doc bottom 2015-09-25 18:05:50 +08:00
Wu Cheng-Han 11c4a0404e Updated updateView, windowResize, cursorActivity, updateHistory to use lodash debounce function, added back missing refreshView function 2015-09-25 18:01:15 +08:00
Wu Cheng-Han 01217c9f4a Added extraTags support for list, and can toggle todo list in the view mode 2015-09-25 17:41:15 +08:00
Wu Cheng-Han bc31e9fe3b Added deduplicatedHeaderId to avoid multiple same header id 2015-09-25 14:27:23 +08:00
Wu Cheng-Han 44cd5d4b56 Fixed for code consistency 2015-09-25 14:22:45 +08:00
Wu Cheng-Han 376a759df7 Changed defaultMode from both to view 2015-09-25 14:10:15 +08:00
Wu Cheng-Han 1da2653a38 Fixed defaultTextHeight from 18 to 20 2015-09-25 14:09:37 +08:00
Wu Cheng-Han 6b383d49bb Fixed scroll to body might not animate 2015-09-25 14:08:02 +08:00
Wu Cheng-Han e64249453f Fixed permission might not update and emit properly 2015-09-25 14:02:34 +08:00
Wu Cheng-Han ab6deb8e2e Fixed when doc reconnect might get wrong OT operation, reorder initialize instructions in proper sequence 2015-09-25 13:59:28 +08:00
Wu Cheng-Han 9acd070581 Fixed socket set wrong cursor data on receive, prevent buildCursor execute on view mode 2015-09-25 13:43:19 +08:00
Wu Cheng-Han f8b029b2f4 Fixed checkCursorTag and checkCursorMenu not calculate doc height properly, fixed jquery-textcomplete support upSideDown 2015-09-25 13:39:08 +08:00
Wu Cheng-Han e08916763e Added statusBar to show cursor position, selections and so on 2015-09-24 14:59:45 +08:00
Wu Cheng-Han 33cdec2fd4 Updated to lock the navbar on changeMode 2015-09-24 13:55:02 +08:00
Wu Cheng-Han c06fb7a526 Fixed index clear history list not working, history list will now be id-unique, fixed typo and styles 2015-09-24 11:55:56 +08:00
Wu Cheng-Han c473033f45 Fixed autocomplete for code block should only show up after type at least one char, writeHistory when page unload to avoid some other occasions. 2015-07-17 00:11:10 +08:00
Wu Cheng-Han d14c5bdc9c Added document max length limit, enforceMaxLength on change and show modal when reach the limit. 2015-07-16 22:46:06 +08:00
Wu Cheng-Han 6f079a3c7a Reduced finishChangeDelay from 400ms to 200ms 2015-07-12 21:21:03 +08:00
Wu Cheng-Han bb9deef077 Marked as 0.3.2 2015-07-11 12:52:04 +08:00
Wu Cheng-Han 556338a9c6 Added support of operational transformation 2015-07-11 12:43:08 +08:00
Wu Cheng-Han 04eef71b11 Change note action "share" to "publish" to avoid misleading 2015-07-06 13:51:55 +08:00
Wu Cheng-Han 85c67212ad Added profile image on onlineList 2015-07-04 22:19:09 +08:00
Wu Cheng-Han 1d843c8ac2 Added random color option in blockquote tag 2015-07-03 09:14:49 +08:00
Wu Cheng-Han 17f89e9bd3 Optimized syncscroll.js buildMap, make it faster 2015-07-02 20:30:43 +08:00
Wu Cheng-Han f8ef5341c7 Optimized image rendering, avoid duplicated image load when content changed 2015-07-02 20:29:31 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +08:00
Wu Cheng-Han f7f8c901f4 Marked as 0.2.9 2015-06-01 18:04:25 +08:00
Wu Cheng-Han 4e64583a0b Marked as 0.2.8 2015-05-15 12:58:13 +08:00
Wu Cheng-Han 4b0ca55eb7 First commit, version 0.2.7 2015-05-04 15:53:29 +08:00