Commit Graph

22 Commits

Author SHA1 Message Date
Felix Häusler
b442aafa5a
Fix invalid relative image path (#2935) 2022-01-27 22:02:21 +01:00
Ran Luo
565f475e00
Feat/use picgo to upload image (#2890) 2022-01-16 18:28:21 +01:00
Felix Häusler
3ecb8b6fd2
Fix async IO function in renderer (#2863) 2022-01-12 21:16:51 +08:00
Tarcisio Gruppi
2d15933c53
added option to use a command line script as image uploader (#2100) 2022-01-08 17:00:28 +01:00
Felix Häusler
1cc2d4e3ca
Update build tools (#2814)
* Update build tools (babel, eslint and webpack)

* Fix karma configuration (unit tests)

* Fix invalid glob path on Windows

* Fix codemirror editor modes location for development

* Break welcome text on smaller terminals

* Fix ESLint error and reduce PlantUML compression level
2022-01-02 18:48:38 +08:00
Kiyoka Nishiyama
93da27118d
fix: feature request 2106 (Always use forward slashes on Windows) (#2824) 2021-12-30 12:11:46 +01:00
bolshoytoster
2ed5a85012
Removed the space in 'Mark Text' (#2763) (#2782)
* Removed the space in 'Mark Text' (#2763)

Literally just replaced all occurances of 'Mark Text' with 'MarkText' using sed.

This is directly related to #2763.

* Revert changes to .github directory

Reverted changelog etc.

* Added `cs` alias for `csharp` in code blocks (Fixes #2760)

* Added error handler in the renderer process (should fix #2758)

The `src/muya/lib/contentState/clickCtrl.js` file will now return if
`document.querySelector` fails to find an element.
2021-12-25 21:05:58 +08:00
Felix Häusler
56c51b52f5
Fix slow startup on Windows (#2786) 2021-12-25 18:06:34 +08:00
Kiyoka Nishiyama
c631d00f6a
fix: issue 2652 Fixed a problem with image links being absolute paths. (#2676) 2021-12-11 12:36:57 +01:00
Felix Häusler
2b53a414f9
Add support for relative image directory (#2439) 2020-12-23 23:24:27 +01:00
Yansongsongsong
c52431cb92 Feat: github uploader can customize branch(#1328) (#1328) 2019-09-11 11:32:06 +08:00
Ran Luo
46371f8c56
Update Babel to 7.x.x (#1253)
* update deps

* update babel

* add babel-runtime

* update config file

* update config file

* modify config

* modify some codes

* update some dependences

* Update allowed licenses validate
2019-09-01 03:30:01 +08:00
Ran Luo
75c043a649
fix: lint error (#1176) 2019-07-25 02:28:48 +08:00
Felix Häusler
2686cfafe4 Update deps and automatically format style (#1168) 2019-07-24 10:57:21 +08:00
Ran Luo
afe688911a feat: add click delete url to clipboard when upload image to SMMS (#1173) 2019-07-23 20:25:17 +02: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
Felix Häusler
edf01b2e96 Opt-in uploader services and add legal notices (#1113)
* Opt-in uploader services and add legal notices

* Fix style
2019-06-20 16:22:26 +08:00
Felix Häusler
ddc99aa00e
refactor: main filesystem code (#1104) 2019-06-13 21:23:09 +02:00
Felix Häusler
e6e652713a
Find best window to open second-instance files and directories in (#1054)
* Files via command-line are opened in the best window

* Don't show FSW changed notification while saving

* Fixed source-code mode setting and remove focus/typewritter option

* Simplify ignore list

* Fix invalid dialog parameter

* Fix invalid dialog parameter (2)

* Use async message box dialog

* Update documentation

* few changes

* Check timer before calling clearTimeout

* Improve switch style

* Fix style
2019-06-09 15:41:58 +02: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
Felix Häusler
3b9c16779d fix: #878 select existing tab (#986) 2019-04-29 01:23:42 +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