Commit Graph

16 Commits

Author SHA1 Message Date
Ran Luo
fd18637d64 fix #1579 (#1587) 2019-11-02 15:55:43 +01:00
Ran Luo
ab97336e89
Feat: add highlight menu item (#1532) 2019-10-27 00:38:22 +08:00
Ran Luo
8e32838b8a Feature: support markdown extension superscript and subscript (#1531)
* Feature: support markdown extension superscript and subscript

* Update readme file

* Fix: theme setting error

* fix issue in comment

* Fix some typo
2019-10-26 17:15:49 +02:00
Felix Häusler
2686cfafe4 Update deps and automatically format style (#1168) 2019-07-24 10:57:21 +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
a7de21b4a3
opti: put the cursor in bracket after you select link took (#1032) 2019-05-22 21:54:11 +08:00
Ran Luo
ef9fe7566a feat: add underline format (#946)
* feat: add underline format

* update doc

* add support superscript and subscript in format menu
2019-04-16 20:15:02 +02:00
Ran Luo
ad5ddbf994
fix: GFM example 558 (#917) 2019-04-12 22:46:45 +08:00
Felix Häusler
8951879b52 fix: markdown image url (#911) 2019-04-11 21:58:14 +08:00
Ran Luo
739d31aa66 fix #625 (#799)
* style opti

* fix #625

* update changelog

* fix error when selection in not in edit area

* also fix double click front icon and error happen

* fix error when click front icons and toolbars of table

* rebase master

* update some codes

* null check in all selection.getCursorRange method

* add maskColor variable

* update roadmap, remove note features
2019-03-31 13:06:27 +02:00
N-McA
5157b6a462 Add Inline Math to formatting menus (#649)
* remove the unused variable CLASS_OR_ID from domManipulate.js

* add inline math to the formatting menus, and as CtrlorCmd-M

* add color to the math icon when format is applied

* skip the delimiting characters for math and code and del

* skip the delimiting characters for math and code and del

* Update zh_cn.md (#653)

* Update zh_cn.md

* Update zh_cn.md

* Add Markdown MimeType (#648)

* Add Markdown MimeType

XDG Desktop components will identify this program as a Markdown editor

* Add mimetype to package.json

* Removing old Mime

* Explicitly define security guidelines (#652)

* Adjust inline math font (#657)

* add inline math to the formatting menus, and as CtrlorCmd-M

* add color to the math icon when format is applied

* skip the delimiting characters for math and code and del

* skip the delimiting characters for math and code and del

* remove clash with macos minimise by ensuring ctrl-m for inline math

* combine the two conditionals

* fix trailing spaces
2019-02-27 19:19:29 +08:00
Felix Häusler
2ce05829d7 Fix tests and improve CI (#590)
* Fix tests and improve CI

* Add xvfb to Linux - still problems with Mocha e2e tests

* Disable Webpack Bundle Analyzer for testing

* Use preinstalled yarn application on AppVeyor

* Fix build failure with latest vue version

* Remove "markdown-toc"

* Fix application title unit test

* Hide electron window during unit tests

* Add basic muya unit tests

* Dirty markdown-toc replacement

* Update dependencies

* Update eslint packages and configuration
2018-12-17 10:29:37 +08:00
Felix Häusler
638f65e4ea Respect existing image title if no source is specified (#599) 2018-12-10 00:27:02 +08:00
jocs
9ab0085262 fix: clear format when select image 2018-10-13 22:26:29 +08:00
jocs
ceb7279e4f feat: inline format float box 2018-10-10 01:07:39 +08:00
Ran Luo
405d04ce19
package and release muya (#413) 2018-07-07 00:10:30 +08:00