Commit Graph

2219 Commits

Author SHA1 Message Date
Wu Cheng-Han 5ed395122d Support specify code block start line number 2015-10-07 23:04:31 +08:00
Wu Cheng-Han 8a4ad57f6a Fixed cursor style not show properly on insert mode 2015-10-07 23:02:46 +08:00
jackycute fe30f8aa9b Update config.js 2015-10-06 18:26:00 +08:00
Wu Cheng-Han 3f64ec79b7 Fixed OT not handle when selection is empty 2015-10-05 14:32:31 +08:00
Wu Cheng-Han 53f26a7771 Fixed cleaner might not clean user not in connected list and handle if the user socket not exist 2015-10-05 14:32:05 +08:00
jackycute 9586e2057f Update README.md 2015-09-27 14:45:21 +08:00
Wu Cheng-Han bc1f59af65 Marked as 0.3.3 2015-09-27 14:36:08 +08:00
Wu Cheng-Han 2c31b8d809 Fixed realtime cleaner, socket should defined and notename is not a necessary in disconnect 2015-09-27 11:43:55 +08:00
Wu Cheng-Han ab6d6c77f1 Updated realtime to clear socket queue in all exceptions of connect and disconnect 2015-09-27 11:43:33 +08:00
Wu Cheng-Han 332413bcaa Fixed if using splice in loop should always decrement index or might out of array range 2015-09-26 10:25:00 +08:00
Wu Cheng-Han 3683a6dd34 Added more infos about connection and disconnection in realtime "getStatus" 2015-09-26 10:24:44 +08:00
Wu Cheng-Han 5f82df7eb2 Added support of export to HTML, and changed the navbar menu for consistency 2015-09-25 19:09:43 +08:00
Wu Cheng-Han 60414febee Changed code block line number gutter rendering method for performance and gain better accessibility 2015-09-25 19:06:27 +08:00
Wu Cheng-Han 4e0a102101 Removed include gist.css, will loaded by gist-embed.js from gist ajax 2015-09-25 19:04:15 +08:00
Wu Cheng-Han 3882f4f044 Updated editor styles 2015-09-25 19:03:04 +08:00
Wu Cheng-Han 93b6288958 Updated editor default theme and some other options 2015-09-25 19:02:51 +08:00
Wu Cheng-Han 8de5404bb1 Added new editor theme: one-dark, updated monokai active line gutter style 2015-09-25 19:01:20 +08:00
Wu Cheng-Han 98ca5cb3df Updated toc-dropdown margin-top 2015-09-25 18:59:15 +08:00
Wu Cheng-Han 0242089e35 Updated cursor css animation and dropdown-menu styles, updated navbar-brand font-weight 2015-09-25 18:58:49 +08:00
Wu Cheng-Han bb8a0da71f Added support of print and unselectable styles, updated vimeo and youtube parsing method for this 2015-09-25 18:55:56 +08:00
Wu Cheng-Han 2493c8f986 Fixed padding of view area in smaller screen 2015-09-25 18:52:06 +08:00
Wu Cheng-Han 2b57b1849f Added support of titleReminder and handle when change occur on offline 2015-09-25 18:48:45 +08:00
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 c2f9970ef0 Fixed a possible exception 2015-09-25 17:37:09 +08:00
Wu Cheng-Han 523048f111 Fixed to handle startConnection and finishConnection undefined exceptions 2015-09-25 16:57:18 +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