Commit Graph

20 Commits

Author SHA1 Message Date
Felix Häusler
f89ec51938
fix animated scrolling (#2780) 2021-12-25 21:45:42 +08:00
Felix Häusler
2b53a414f9
Add support for relative image directory (#2439) 2020-12-23 23:24:27 +01:00
Felix Häusler
245962a6a1 Add Windows spell checker and fixes (#1624)
* Add Windows spell checker and fixes

* Fix build failure on macOS

* Fix preference visibility
2019-11-08 00:25:24 +08:00
Felix Häusler
f142dea160
Add command palette and quick open dialog (#1493)
* Add command palette and quick open dialog

* Fix format and paragraph commands

* Adjust style and allow to reset list/quote

* Adjust UI and fix some issues

* Add custom placeholder
2019-11-04 19:50:50 +01:00
Felix Häusler
2686cfafe4 Update deps and automatically format style (#1168) 2019-07-24 10:57:21 +08:00
Ran Luo
04fead0165
update asios and fix #1121 (#1133)
* update asios and fix #1121

* remove unused codes
2019-07-04 11:14:15 +08:00
Ran Luo
c239e99f1b
Refactor inline image to support paste/drop image (#1028)
* feat: image setting

* opti: inline image

* add imageSelectAction

* remove axios from muya

* update image selector

* finish image selector ui

* add load success style

* delete image by click delete icon

* opti structure of image html

* handle arrow key

* enter to edit

* image preview by press space

* handle backspace when the previous element is image wrapper

* update codes for change another PC

* emable select all in input

* handle arrow and backspace key

* create a new paragraph after the last paragraph if its not empty

* handle backspace when the previous element is image wrapper

* handle enter event in image selector

* rewrite auto show image selector

* modify image folder

* copy file to folder

* select image

* handle paste image

* picgo

* guess image path from clipboard

* drag and drop image to Mark Text

* add github uploader

* remove unused codes

* remove unused codes

* rewrite image path auto complete

* support `path` imageInsertAction

* doc: add image uploader doc

* remove debug codes

* set init value in image uploader page

* fix typo

* remove unused codes

* drag web image to Mark Text

* add save notification

* opti uploading process

* fix did not close image selector bug

* check image content type when drag web link image

* fix: unable to preview relative path image.

* emit change event after paste/drop image

* add url map in image selector

* feat: screenshot and auto insert the screenshot image

* update error handler

* feat: use the native screencapture command line on macOs system

* opti: drop image

* fix: handle enter error when cursor is after a image

* fix: hasOwnProperty error

* remove debug codes

* fix: backspace when the previous ele is image

* fix: CI error and optimize some codes

* use hash of file path to generate the copied filename

* change default imageInsertAction to `path`

* fix: typo

* remove some unused codes and opti get image file name

* fix some bugs and opti codes

* update image edit icon

* romove screen capture on Linux and Windows

* fix: conflict

* fix error that can not insert image after the existed image or before existed image
2019-05-26 23:55:13 +08:00
Ran Luo
4bd22b6dc5
Mark Text Preference (#1003)
* dynamic change element-ui theme to our themeColor

* add some ui components

* add preference doc

* add json schema file

* update preference.json and schema.json

* reset to old commit

* rename preference file for rebase

* rebase develop

* add setting window

* user electron-store to store preferences

* add themes setting

* add select component

* add markdown pref

* fix: bool and select init value

* add font size setting

* editor pref

* add general preference

* search preference

* update menu after preference changed

* update muya codes

* prevent scale setting window

* fix: titlebar undefined

* update input style

* remove window from windowManager after close setting window

* remove old docs and preference.md

* if a setting window is already created, no need to create another one, just move it to top

* rename openFilesInNewWindow to openFileInNewWindow

* change aidou runtime

* change hideQuickInsertHint by setting page runtime

* change autopair runtime

* change codefont and codefontfamily dynamic

* change default value of autoSave to false

* update bulletListMarker

* fix style error

* add custom titlebar to settings window

* add window shadow for Linux and Windows

* fix Windows build

* fix some typo error

* update doc

* add default menu and setting menu

* fix update menu bug

* fix typo

* remove mac titlebarstyle

* do not need to send titlebarstyle to renderer

* fix typo

* crash Mark Text if no initial preference.json file

* update the path

* add showCustomTitleBar prop

* set empty settings menu on Linux/Windows + workaround
2019-05-09 09:26:28 +08:00
Felix Häusler
cbd90bfeb4 User-defined open files (#735) 2019-03-07 22:59:40 +08:00
Jocs
8c392a7a5c feature: feedback via twitter
bugfix: can not save when there is no file edited
optimization: Don't show welcome page when init App
2018-06-12 19:42:31 +08:00
冉四夕
dc79014147
Support Side Bar、 Tabs and Quick Open in Mark Text (#317)
* side-bar-view

* list files view

* update the structure of store, add modules

* open project and change select files

* add tabs view

* listen for file/dir changing, and update in sidebar

* delete some unused code

* context menu in sidebar

* add tool bar and tab bar menu item

* save all and save all and close

* copy, cut, paste, new file, new directory, move to trash, open in folder

* rename in sidebar
2018-06-04 11:23:51 -05:00
冉四夕
16bb1de82e
Support multiple lines math input (#294)
* change another way to render math

* open\save\edit multiple lines math block

* rewrite header label style

* inline code style update

* update dark theme style

* update change log

* typo error

* update webpack to v4

* update license

* fix unexpected to delete math preview block

* fix cursor error when change mode
2018-05-26 00:58:16 +08:00
冉四夕
07e08bcf99
Block html (#118)
* Feature: Basic use of Block HTML create and edit

* Feature: import Block HTML

* Feature: add dev snabbdom-virtualize to translate dom string to vitual dom

* Feature: export HTML block

* Feature: Block html export markdown, PDF, HTML

* bugfix: judge block html more strictly

* Bugfix: adjust cursor in source code mode when cursor is in block html
2018-04-07 22:08:24 +08:00
Felix Häusler
05ddf6374c Debug cleanup (#85) 2018-03-28 15:03:32 +08:00
Jocs
347e3faaa8 bugfix: #81 cursor error when change source mode to real time mode 2018-03-27 13:23:53 +08:00
Jocs
031e83533b bugfix: #81 2018-03-27 00:48:40 +08:00
Jocs
dcb409f481 feat: add collection of dotu 2018-03-08 23:02:31 +08:00
Jocs
9ca2775df7 opti: add search history of dotu 2018-03-08 03:09:15 +08:00
Jocs
53741d9b01 bugfix: bug description: Press ESC after search, the selection dosent set to the last hightlight word. 2018-03-07 21:34:03 +08:00
Jocs
ca9fc76d2b feat: doutu 2018-03-06 21:09:35 +08:00