Commit Graph

1209 Commits

Author SHA1 Message Date
Felix Häusler
625c926585 Revert #1616 One-Dark color changes (#1694) 2019-11-13 09:47:04 +08:00
Felix Häusler
184861f7b9
Fix extractWord issue and optimization (#1674) 2019-11-11 17:37:22 +01:00
Felix Häusler
a3428b5151
Ensure Hunspell dictionary before downloading (#1675) 2019-11-11 17:37:00 +01:00
Felix Häusler
c7ae487e6e
Temporary disable numbered code block lines due to #1648 (#1658)
* Temporary disable numbered code block lines due to #1648

* Set default value to false
2019-11-08 18:40:29 +01:00
Patrick Weingaertner
ca2149e4fb apply option key symbol conditionally. change command key symbol from ^ to ctrl. adjust css
make sure text is right aligned

revert width auto

revert width auto
2019-11-08 00:25:24 +08: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
0dc7038083 Fix wrong condition 2019-11-08 00:25:24 +08:00
Felix Häusler
e919ea70d9 Fix allowed paragraph transformations 2019-11-08 00:25:24 +08:00
Felix Häusler
0649ab3125
Fix Hunspell dict installation (#1642) 2019-11-07 15:36:09 +01:00
Felix Häusler
e78e4c6b10
Fix outdated export command (#1627)
* Fix outdated export command

* Fix more commands by focusing editor
2019-11-06 18:53:22 +01:00
Felix Häusler
be35982985
Misc style changes and marked (#1626) 2019-11-06 18:53:03 +01:00
Felix Häusler
4f8d0c1a93
Support final newline options (#1595)
* Support final newline options

* Fix docs and add command
2019-11-06 18:52:47 +01:00
Ran Luo
047aad2bbc
Merge pull request #1616 from marktext/opti-search-in-folder
Optimization search in folder
2019-11-06 23:42:33 +08:00
jocs
5196df94b0 Change title color 2019-11-06 23:42:05 +08:00
Ran Luo
4cadbcba49
Merge pull request #1617 from marktext/render-performance
Optimization of render performance
2019-11-06 23:32:24 +08:00
jocs
129aeb5a57 Use non-capture group 2019-11-06 23:31:21 +08:00
Ran Luo
804555b04b
Merge pull request #1623 from marktext/update-help-menu
Update help menu
2019-11-06 23:28:23 +08:00
Ran Luo
852f5d1845
Merge pull request #1625 from marktext/fix-rg-search-hidden
Fix include hidden condition
2019-11-06 23:23:15 +08:00
Ran Luo
b7468117e9 fix #1574 (#1593) 2019-11-06 16:00:22 +01:00
Felix Häusler
fe8f921d4f
Fix include hidden condition 2019-11-06 15:55:36 +01:00
Ran Luo
ffafb11aee
Merge pull request #1613 from marktext/fix-1602
fix: #1602 the current window is shown as undefined
2019-11-06 22:52:57 +08:00
Ran Luo
6a58113f5d
Merge pull request #1610 from marktext/fix-1581
Unselect all images and table cells when dialog is shown
2019-11-06 22:48:46 +08:00
Ran Luo
63fcba73aa
Merge pull request #1611 from marktext/toggle-maxmize
dbclick title bar to toggle fullscreen on macOS
2019-11-06 22:47:27 +08:00
Ran Luo
d19d22a643
Merge pull request #1612 from marktext/fix-1607
Match keyword not only from the beginning #1607
2019-11-06 22:46:43 +08:00
Ran Luo
84f223e243
Merge pull request #1615 from marktext/style-optimization
Style optimization
2019-11-06 22:45:57 +08:00
Ran Luo
c3e1a74433
Merge pull request #1622 from marktext/opti-aidou-style
style optimization of aidou
2019-11-06 22:42:55 +08:00
Ran Luo
028797bbff
Merge pull request #1561 from marktext/fix-628
Auto scroll cursor to visible if the cursor is too low
2019-11-06 22:42:07 +08:00
Ran Luo
a2bad06d3c
Merge pull request #1590 from marktext/fix-1582
Fix: unexpected load all languages
2019-11-06 22:41:09 +08:00
jocs
79d0ea672d Change develop to master doc 2019-11-06 22:35:49 +08:00
Ran Luo
dfc73900aa
Merge pull request #1572 from marktext/code-block-line-numbers
feat: add code block line numbers
2019-11-06 22:27:06 +08:00
jocs
e0f9a46c86 Update help menu 2019-11-06 22:18:35 +08:00
jocs
197f80bdd1 style optimization of aidou 2019-11-06 21:45:49 +08:00
罗冉
5e897d350f Optimization of render performance 2019-11-06 15:49:12 +08:00
罗冉
139a7066db modify highlight style 2019-11-06 13:59:25 +08:00
罗冉
12c2b9d161 style optimization 2019-11-06 13:45:30 +08:00
罗冉
a8bb4bd2f7 Optimization search in folder 2019-11-06 13:14:25 +08:00
jocs
e67fdc3469 Opti: the style in number input 2019-11-06 09:35:00 +08:00
Ran Luo
77b1b171c1
Merge pull request #1550 from marktext/pandoc-workaround
WORKAROUND: Add environment variable for pandoc
2019-11-05 16:58:36 +08:00
罗冉
a1a91f3904 fix: #1602 the current window is shown as undefined 2019-11-05 15:31:46 +08:00
罗冉
8780f7d22a Match keyword not only from the beginning #1607 2019-11-05 15:08:35 +08:00
罗冉
e0ac7dbad7 modify the event prefix between main and renderer process 2019-11-05 13:36:39 +08:00
罗冉
abdcebed41 Unselect all images and table cells when dialog is shown 2019-11-05 13:08:14 +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
Ran Luo
f718ca7f14
Merge pull request #1594 from marktext/adjust-export-style
Adjust export theme style
2019-11-04 14:39:51 +08:00
Ran Luo
6a286dfb6b
Merge pull request #1563 from marktext/fix-1523
add error notice when there is something wrong with exporting
2019-11-04 00:53:31 +08:00
jocs
f3b15f3d7c Optimization of log.error mesg 2019-11-04 00:52:55 +08:00
Ran Luo
26e807db08 Fix: ui error in theme setting page (#1589) 2019-11-03 17:46:31 +01:00
Felix Häusler
ca57e59a48
Adjust export theme style 2019-11-03 17:15:32 +01:00
jocs
2dd8471c15 Fix: unexpected load all languages 2019-11-03 17:41:34 +08:00
jocs
c3946b4da9 use throttle util 2019-11-03 13:50:40 +08:00
jocs
239de6f34c update line number position 2019-11-03 13:44:23 +08:00
jocs
4726553a34 fix conflict 2019-11-03 10:58:13 +08:00
jocs
07a014e891 handle clean up 2019-11-03 10:52:28 +08:00
jocs
af8c17cf37 add error notice when there is something wrong with exporting 2019-11-03 10:48:13 +08:00
jocs
a43a8b0d12 remove magic number 2019-11-03 10:44:15 +08:00
jocs
d096819cae Merge branch 'develop' into fix-628 2019-11-03 10:32:10 +08:00
Ran Luo
fed4eafcca
Merge branch 'develop' into fix-1578 2019-11-02 23:52:41 +08:00
Felix Häusler
09f920eade
Upgrade to Electron 7 (#1543)
* Upgrade to Electron 7

* Fix E2E test issue with Electron 7

* Fix native theme event

* Remove runtime native theme detection

* Update Electron to v7.0.1

* Fix keytar exception
2019-11-02 16:41:51 +01:00
Ran Luo
0ced076328
Merge pull request #1576 from marktext/unsplash-ux
Improve image picker UX
2019-11-02 23:03:14 +08:00
Ran Luo
1fbc0bfb7f
Merge pull request #1570 from marktext/fix-1569
fix #1569
2019-11-02 22:57:01 +08:00
Ran Luo
fd18637d64 fix #1579 (#1587) 2019-11-02 15:55:43 +01:00
Ran Luo
7377de3c12
Feat footnote (#1546)
* feat: footnote identifer

* feat: add update to footnote

* modify some style

* Create footnote from identifier and backlink

* handle backspace in footnote

* export markdown

* add export html

* add export style

* modify style

* feat: add footnote setting option

* fix some bugs

* feat: fix [^longnote] is not auto numbered in exported document but in footnotes.

* Enter to create footnote

* modify some style of footnote

* update footnote icon and add highlight format icon button

* fix #1568
2019-11-02 22:51:05 +08:00
Ran Luo
68e4a9ce7e fix #1583 (#1585) 2019-11-02 15:50:38 +01:00
Ran Luo
070ef96b7a fix: #1466 (#1562) 2019-11-02 15:28:44 +01:00
Ran Luo
3105228774 fix #1547 (#1560) 2019-11-02 15:20:21 +01:00
Ran Luo
07ef9cba0f Fix 1551, and also fix no need heading rules in table cell (#1558)
* Fix 1551, and also fix no need heading rules in table cell

* no need to hide heading # in table cell
2019-11-02 15:18:58 +01:00
Felix Häusler
be64ab6d4b
Adjust style 2019-11-02 15:01:28 +01:00
Felix Häusler
60bb2a0d5c
Improve image picker UX 2019-11-02 12:08:47 +01:00
jocs
d7b655ac6c fix #1578 2019-11-02 10:46:39 +08:00
Felix Häusler
30997f0d26 Fix no underline spell checker mode (#1584) 2019-11-02 09:09:20 +08:00
Felix Häusler
ba3e6f6110 Improve spellchecker UX (#1575) 2019-11-02 01:37:31 +08:00
罗冉
079e654131 Fix style bug 2019-11-01 18:59:05 +08:00
罗冉
7aa0d1bf4d Feat: add copy code block button 2019-11-01 18:43:41 +08:00
罗冉
a028a7c2bb feat: add code block line numbers 2019-11-01 17:24:18 +08:00
罗冉
154b22058d fix #1569 2019-10-31 16:41:09 +08:00
罗冉
a006781fad fix #1568 2019-10-31 15:56:42 +08:00
jocs
baa18252a8 fix:# 628 2019-10-30 21:22:24 +08:00
罗冉
09c7244dfe update footnote icon and add highlight format icon button 2019-10-30 16:58:11 +08:00
罗冉
0d001649b1 modify some style of footnote 2019-10-30 12:56:03 +08:00
罗冉
38d24056c4 Enter to create footnote 2019-10-30 12:42:39 +08:00
罗冉
efd38644cd feat: fix [^longnote] is not auto numbered in exported document but in footnotes. 2019-10-30 11:36:39 +08:00
罗冉
8886517c3a fix some bugs 2019-10-29 18:48:20 +08:00
罗冉
318bfc6aa2 feat: add footnote setting option 2019-10-29 18:36:16 +08:00
罗冉
b4788f559a modify style 2019-10-29 18:00:01 +08:00
罗冉
e62f660e56 add export style 2019-10-29 17:53:29 +08:00
罗冉
5061548784 add export html 2019-10-29 17:32:53 +08:00
罗冉
7f48a55f1c export markdown 2019-10-28 15:00:33 +08:00
罗冉
3f74a8809f handle backspace in footnote 2019-10-28 11:59:51 +08:00
Felix Häusler
8436aeb499 Update documentation (#1548)
* Update documentation

* Remove <br> due to issues with preview
2019-10-28 07:53:30 +08:00
Felix Häusler
9c8f14cfd2 Hide render container from Muya (#1549) 2019-10-28 07:48:58 +08:00
Felix Häusler
cc2e9d13c0
WORKAROUND: Add for environment variable for pandoc 2019-10-27 17:28:34 +01:00
罗冉
ec91b31d49 Create footnote from identifier and backlink 2019-10-27 23:52:23 +08:00
罗冉
c7a2317eab modify some style 2019-10-27 18:25:52 +08:00
罗冉
fc89d04acc feat: add update to footnote 2019-10-27 18:16:29 +08:00
罗冉
37b96c8833 feat: footnote identifer 2019-10-27 16:18:04 +08:00
Ran Luo
c6708e9d9a
fix: #1540 (#1542)
* fix: #1540

* adjust style
2019-10-27 01:04:18 +08:00
Ran Luo
42500d0ee3 Fix 1521 (#1538)
* fix style error when show inline math

* Fix: parse inline math error

* remove debug code
2019-10-26 18:46:31 +02:00
Ran Luo
ab97336e89
Feat: add highlight menu item (#1532) 2019-10-27 00:38:22 +08:00
Ran Luo
168257605f
feat: add find in folder shortcut (#1539)
* feat: add find in folder shortcut

* Modify the menu item label
2019-10-27 00:31:01 +08:00
Ran Luo
8eb5db8f12
fix: #1522 (#1537) 2019-10-27 00:19:36 +08:00
Ran Luo
ea054dfc5a
Add tooltip to format tool bar (#1516)
* Add tooltip to format tool bar

* Fix typo

* make all editor menu smaller

* remove some unused codes

* modify code picker style

* put front menu at the bottom of front menu icon

* modify style

* Use title attribute to show the description and shortcut
2019-10-27 00:17:54 +08:00
Ran Luo
d4e8bae233 fix #1508 (#1536)
* fix #1508

* add win is not null check
2019-10-26 18:06:38 +02:00
Ran Luo
44228b2af6 fix #1489 (#1535) 2019-10-26 17:17:58 +02: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
e5dc8f1540 Export with options (#1511)
* Export with options

* Fix function names and add documentation

* Narrow scrollbar
2019-10-25 09:03:33 +08:00
Ran Luo
e18ad566d5 Add muya API extractImages (#1507) 2019-10-24 21:07:05 +02:00
Ran Luo
f1f048f53d
Fix can not fetch unsplash pictures (#1518) 2019-10-24 08:37:19 +08:00
Ran Luo
8b593bdd86 Fix: #1509 (#1510) 2019-10-22 21:05:41 +02:00
Ran Luo
5f0ef2c8e6 Fix: enter error in code block (#1506) 2019-10-22 21:01:40 +02:00
Felix Häusler
2c9d3f1e86
Add Windows jump list entries (#1503) 2019-10-22 20:57:22 +02:00
Ran Luo
48280c47cb Fix issue #1490 (#1498)
* Fix issue #1490

* click the editor to hide the search input will not lose cursor
2019-10-22 20:56:52 +02:00
Ran Luo
a4b4a7a847
Feat: add user preference whether hide the link popup (#1504) 2019-10-21 10:42:05 +08:00
Felix Häusler
d0d76f0b5d Fix print page margin (#1488) 2019-10-20 16:18:40 +08:00
Ran Luo
41a2343e0f
Lazy load some big assets and optimize the bundle size (#1481)
* Use snap.svg to replace raphael

* lazy load diagram

* rm debug codes

* Use throw exception instead of console.error
2019-10-20 11:56:11 +08:00
Ran Luo
5d247ec5ee Update spell icon in preference window (#1497) 2019-10-18 18:19:42 +02:00
Felix Häusler
603ed04ab1 Add experimental spellchecker (#1424)
* Experimental spellchecker for testing purpose

* Fix 'apache' license validation

* Use local electron-spellchecker for development

* Add settings and bug fixes

* Fix Hunspell switchLanguage bug and improvements

* Fix attach to editor when enabling spell check again

* Add Hunspell license

* Copy default Huspell dictionary on first start

* Fix full language name

* Some code improvements

* Allow to add words to user dict and  bug fixes

* Allow to change Muya's spellcheck container attribute

* feat: Don't underline misspelled words

* Allow to set Hunspell on macOS

* Fix spellchecker changed value

* Refactor switchLanguage, init and enableSpellchecker

* Refactor and some fixes

* Code improvements

* electron-spellchecker cleanup and optimization

* Disable automatic language detection for Hunspell

* Fix init on macOS and update JSDoc

* Fix macOS issues and some improvements

* Load single settings value only

* Fix rebase

* Remove debug code

* Move electron-spellchecker to scoped npm repo

* Fix dictionary of ignored words on macOS

* Move replaceWordInline to core API

* Remove comment block

* Fix upstream lint error
2019-10-17 15:54:09 +08:00
Felix Häusler
1b9ee786be Fix lint error (#1492) 2019-10-16 09:17:31 +08:00
Felix Häusler
ad41f1c552
Fix recently directories (#1486) 2019-10-15 19:44:38 +02:00
Felix Häusler
929ff58027
Fix EOL menu state (#1487) 2019-10-15 19:44:29 +02:00
Ran Luo
84b50097e5
fix: #1460 and #982 (#1482)
* fix: #1460

* fix: #982 support click preview container and start edit
2019-10-15 08:42:03 +08:00
Ran Luo
289b17c015 Optimization of table block (#1456)
* Prepare for drag and drop row and column

* remove regexp th|td

* render drag button

* Feat: support drag and drop row and column of table

* Feat: table bar tools

* remove unnecessary codes

* Feat: support select multiple cells

* Do not show table drag bar when selected cells

* Feat: support delete selected cells content or remove row/column/table

* Feat: select one cell or table when press ctrl + a

* Support select all content

* Remove table tools in context menu

* Feat: support copy paste selected cells as sub table

* Fix: PR issue 1 press tab will not show the table drag bars

* Select one cell and press backspace will cause bug

* Fix: The table drag bar location error when there are tow tables in the editor

* Fix unable copy and paste 1* n or n * 1 table

* Drag any row to the top to editor will cause error.

* Update table resize icon

* Fix: table resize is not work in table tool bar

* Fix: No need to show left drag bar if only one row, and no need to show bottom drag bar if only one column.

* Fix: Create an empty table in source code mode, turn to preview mode, there are more than two drag bars in one table.

* Fix: resize table

* Opti: table is not 100% width now

* Fix drag in one row or column

* Change table delete icon

* Fix: backspace is not work

* Little style opti

* Fix: cmd + enter bug

* Update the table drag bar context menu text

* Handle delete key when select table cells

* remove all unnecessary debug codes

* Feat: support cut selected cells and copy/cut by context menu

* Fix typo

* Rename some methods name

* Fix an issue when drag and drop table drag bar

* fix do not handle cell selection when the context menu shown

* Do not handle select cells when mouse up outside table
2019-10-13 13:23:00 +02:00
Ran Luo
bcb9d97d61 Can not focus the first empty line in code block (#1477)
* Fix: do not show inline format float tool bar when select text in language input

* Fix: #1460
2019-10-12 19:55:21 +02:00
Ken P
342e9c457a Feat: add menu for tabs (#1434)
* Feat: add menu for tabs

* Rename "Show in file manager" tab menu item to "Show in folder"

* Pass tabID instad of tab object to the menuitem
2019-10-12 19:43:42 +02:00
Felix Häusler
1748eed269 Fix Windows screen area (#1474) 2019-10-12 07:47:40 +08:00
Maksym Dogadailo
edb3f7e758 fix: wrap long lines and a little bit of padding for pre element (#1470)
* fix: word-wrap for pre tag, add padding for pre tag

* fix: use 1em for pre preview
2019-10-10 22:19:20 +02:00
Maksym Dogadailo
50e2e6ce92 fix: settings switch used 100% of width (#1471) 2019-10-10 22:14:36 +02:00
Felix Häusler
9567c143d3 Allow 1x1, 1x2 and 2x1 tables (#1462) 2019-10-10 02:00:17 +08:00
Ran Luo
29a6dc6e4f Fix issue #1455 (#1457) 2019-10-08 20:02:18 +02:00
Ran Luo
5b8da2cdf4
Optimization of code block (#1445)
* duplicate css rule

* remove all codeLine

* Fix: #1446

* Fix #942 #1310

* Fix copy paste will add one more empty line in code block

* remove debug codes

* Fix update thematic break error

* fix: #1447

* Update octokit/rest and url-loader

* Fix: CI test error

* Fix comment issue1

* Fix: escape charachters in code block
2019-10-08 14:12:51 +08:00
Felix Häusler
4a24ff0954 Add file encoding support (#1438)
* Add file encoding support

* Update documentation
2019-10-06 08:45:55 +08:00
Ran Luo
4d728a500e
Support RegExp search and replace in file edit. (#1422)
* Update style of search component

* Opti folder structure

* Finish UI

* Finish all search and replace function

* add notification when match too more or invalid regular expression

* Modify empty string

* Modify stile

* Do init search when press cmd + f
2019-10-06 08:42:06 +08:00
Ran Luo
fab1c62fde Fix issue 1378 (#1405)
* Feat: add trimUnnecessaryEmptyLine setting option

* remove debug code

* Fix: tpro and remove debug codes

* rename trimUnnecessaryEmptyLine to trimUnnecessaryCodeBlockEmptyLines
2019-10-05 14:54:34 +02:00
Felix Häusler
2c15d516c3 Fix application menu exceptions (#1437) 2019-10-04 21:59:47 +08:00
Maksym Dogadailo
9efc1f1e20 fix: ag front submenu is not corresponded to other menus (#1443) 2019-10-04 09:45:51 +08:00
Maksym Dogadailo
bafd7cc0b1 fix: pre tags rendering #1409 (#1442) 2019-10-04 09:42:43 +08:00
Maksym Dogadailo
9ca6410745 fix: style error in tooltip arrow #1417 (#1441) 2019-10-04 09:35:41 +08:00
Ran Luo
01518f6dbf
Opti: support 1 * 1 table (#1371)
* Opti: support 1 * 1 table

* Support open 1*1 table but only support create 2*2 table
2019-10-03 23:04:12 +08:00
Ran Luo
6d2d0fabe0 fix: #1418 Set file watch option usePolling to true on macOS (#1430)
* fix: #1418

* Remove debug code
2019-10-03 15:26:55 +02:00
Ran Luo
344df06d58
Unable to open markdown file by command line (#1429)
* test for open markdown file by command

* change version to 0.15.0
2019-10-03 08:08:16 +08:00
Ran Luo
cb25b3d47f Feat: link tool support html tag:a and reference link (#1415)
* Feat: link tool support html tag:a and reference link

* remove debug code
2019-10-02 23:34:25 +02:00
Felix Häusler
ddf9c50a42
Complete TOML and JSON front matter (#1402)
* Complete TOML and JSON front matter

* Add frontmatter settings
2019-10-02 23:27:29 +02:00
Felix Häusler
1ec2029e39 Set CodeMirror viewport to infinity (#1427) 2019-10-02 09:17:41 +08:00
Ran Luo
c0853f644b
Feat: support auto link and auto link extension (#1421) 2019-10-02 09:12:09 +08:00
Ran Luo
0dc4b4154f Fix: #1218 backspace error in table cell (#1425) 2019-10-01 19:57:25 +02:00
Ran Luo
3fa8a9aef5 Fix: #1061 no need to auto pair in inline code (#1423) 2019-10-01 19:55:09 +02:00
Felix Häusler
63d41155ab Update documents (#1411) 2019-10-01 11:58:44 +08:00
Ran Luo
6920c3e0e3 fix: image uploading error (#1385)
* fix: image uploading error

* replace image url and adjust cursor
2019-09-30 20:02:46 +02:00
Ran Luo
de9c62a0f3 fix #1401 (#1404) 2019-09-30 20:02:09 +02:00
Felix Häusler
a8a74dc4b6
Workaround for #1359 (#1389) 2019-09-30 19:55:32 +02:00
Felix Häusler
134d55a99e
Fix key bindings (#1406) 2019-09-30 18:59:01 +02:00
Felix Häusler
a68fb82eb3
Fix portable directory path (#1403) 2019-09-30 15:40:18 +02:00
Ran Luo
c0e141053c
Opti: save the uploader setting before set as default uploader (#1399) 2019-09-30 09:02:56 +08:00
Ran Luo
91515242d4 fix: #1249 (#1400) 2019-09-30 00:29:03 +02:00
Ran Luo
8e47088260 Fix #1391 side bar can not be scrolled (#1398) 2019-09-30 00:24:33 +02:00
Ran Luo
7a6b0ac5cc Fix: exception when deleting code block indentifier (#1384)
* Fix: exception when deleting code block indentifier

* Fix can not delete code block identifier
2019-09-30 00:21:37 +02:00
Felix Häusler
81af159030
Allow custom fonts (#1394)
* Allow custom fonts

* Filter out empty fonts
2019-09-30 00:16:41 +02:00
Felix Häusler
517fe37c26 Fix portable directory path 2019-09-28 16:48:10 +02:00
Ran Luo
0baf2e9e85 Fix: #1390 prevent XSS attack 2019-09-28 16:48:10 +02:00
Felix Häusler
dee8bb6f5b Fix recommend title exception when heading contains spaces only (#1281) 2019-09-28 16:48:10 +02:00
Felix Häusler
6fae5654c5 Add system emoji fallback fonts (#1348) 2019-09-28 16:48:10 +02:00
Felix Häusler
593deb3dbe fix: #1284 (#1287) 2019-09-28 16:48:10 +02:00
Felix Häusler
132048d5f9 fix: #1382 portable application data directory 2019-09-28 16:48:10 +02:00
Ran Luo
7de33f11f5 Fix: #1390 prevent XSS attack (#1393) 2019-09-28 15:09:06 +02:00
Felix Häusler
f266a5d9fc fix: 1382 portable application data directory (#1395) 2019-09-28 09:13:52 +08:00
Ran Luo
8e7a445735
fix #1135 (#1387) 2019-09-28 09:04:29 +08:00
Felix Häusler
056cdf0c08
Markedjs rebase (#1380)
* Fix breaks: true marked#1507

* Fix <em> issue with mixed content marked#1451

* Fix headings marked#1511

* Link parenthesis marked#1509

* Sanitize hardening marked#1504

* relative baseUrl marked#1526

* remove substitutions marked#1532

* Update documentation

* Use marked.js heading regex
2019-09-27 19:53:44 +02:00
Felix Häusler
067ec48547
fix: #1271 HTML paste handler (#1388) 2019-09-27 19:27:24 +02:00
Felix Häusler
b386630d3c
Add per-tab notifications (#1377)
* Add per-tab notifications

* fix: file watcher depth on macOS

* Free array reference
2019-09-27 19:25:42 +02:00
Felix Häusler
1cac5dbe52
fix: #1349 wrong save all tab order (#1370)
* fix wrong save all tab order

* fix: #1278
2019-09-27 19:25:22 +02:00
Ran Luo
2930cdc052
fix #1297 (#1302)
* fix #1297

* Add comment and label the solved issue
2019-09-27 10:43:56 +08:00
Ran Luo
1eb79083fa
Fix: #1265 (#1373) 2019-09-26 23:47:11 +08:00
Ran Luo
1fef2c6ee8 Fix: #1267 (#1372) 2019-09-26 17:36:45 +02:00
Ran Luo
d45663105b
fix: #1336 (#1365)
* fix: #1336

* fix: #1366
2019-09-25 10:39:40 +08:00
Ran Luo
d9b77366e8 fix #1324 (#1364) 2019-09-24 20:24:38 +02:00
Ran Luo
20220f6b5f Support paste urls from Firefox and others (#1363) 2019-09-24 20:21:00 +02:00
Felix Häusler
8c1865f650
Reorder font settings (#1362) 2019-09-24 20:20:20 +02:00
Ran Luo
1ef0d016a2
Feat: add link tooks: unlink and jump (#1357) 2019-09-24 11:23:51 +08:00
Felix Häusler
e0fb779f3e fix: #1145 (#1360) 2019-09-24 00:34:44 +08:00
Felix Häusler
6418496fe9 Fix main process exception due null access (#1350) 2019-09-24 00:03:37 +08:00
Felix Häusler
a4cd93a8cd
Add system emoji fallback fonts (#1348) 2019-09-23 17:15:07 +02:00
Ran Luo
b4f9f44a9b
Optimization inline image (#1347)
* fix: Hide all float box and image transformer when context click

* fix: image need to have unique id

* feat: support copy,cut and paste selected image

* link to creator

* Feat: prevent drag image

* fix: #1313

* Fix: enter to edit selected image
2019-09-23 11:36:41 +08:00
Ran Luo
46b5aad976
Opti: init loading page (#1339) 2019-09-19 18:24:06 +08:00
Ran Luo
6ab75845e8
Opti image (#1345)
* Feature: size image

* Support edit and delete image

* render img tag by image render component

* Fix: can not recognize pencent symbal in img src

* Feat: align image

* Feat: align image

* add tooltip of image toolbar

* Update html tag regexp

* Fix: wrong class name

* Feat: resize image

* Some bug fix

* Fix: image loading status

* Fix: backspace error in image selector

* Remove: unused codes

* Add download event

* Opti: image

* Opti: style of transformer

* fix: do not treat one image html block as html block

* Fix: parse src and title error

* remove debug codes
2019-09-18 19:01:50 +08:00
Ran Luo
141d25d896
Feat: parse page title when paste a link (#1344) 2019-09-17 16:15:33 +08:00
Ran Luo
d26f509209
Feature: resize image and toggle inline and block image (#1335)
* Feature: size image

* Support edit and delete image

* render img tag by image render component

* Fix: can not recognize pencent symbal in img src

* Feat: align image

* Feat: align image

* add tooltip of image toolbar

* Update html tag regexp

* Fix: wrong class name

* Feat: resize image

* Some bug fix

* Fix: image loading status

* Fix: backspace error in image selector

* Remove: unused codes

* Add download event
2019-09-17 16:15:00 +08:00
Ran Luo
435dca7483
feat: search image by unsplash (#1333) 2019-09-11 11:34:33 +08:00
Ran Luo
a4f5269beb
fix: update paragraph menu item task list error (#1330)
* fix: update paragraph menu item `task list` error

* Update exportStyleHTML api

* Update escapeText, because Safari do not support ?>! in reg
2019-09-11 11:33:25 +08:00
Yansongsongsong
c52431cb92 Feat: github uploader can customize branch(#1328) (#1328) 2019-09-11 11:32:06 +08:00
Ran Luo
3ac2c888b2
remove debug codes (#1326) 2019-09-06 15:19:09 +08:00
Ran Luo
e8efca0eeb
fix: inline image backspace error (#1325)
* fix: inline image backspace error

* Do not show buttons when image is uploading
2019-09-06 15:16:19 +08:00
Ran Luo
9fecc68261
Opti: inline-image style (#1322) 2019-09-05 11:17:19 +08:00
Ran Luo
cb7be189cc
Feat: Support inline image and small image (#1318) 2019-09-03 22:56:46 +08:00
Ran Luo
e25f5d8540
Update: update dialog API to Electron 6.0 (#1317) 2019-09-02 21:46:51 +08:00
Ran Luo
96909e23a9
Opti: correct url when there are pair brackets in link url or image src (#1308) 2019-09-02 18:49:56 +08:00
Ilias Ismanalijev
ab5068ea25 Search shows open folder warning, no results text and errors (#1312)
* Show messages in search
- Open folder prompt
- No result found
- Errors

* search message section use divs, refactor template
2019-09-02 18:07:46 +08:00
Ilias Ismanalijev
437cb23ed8 Search input now searches on keypress (#1307) 2019-09-01 18:33:39 +08:00
Ran Luo
fbbb600d7e
Opti: add loading page when init page (#1303) 2019-09-01 09:57:58 +08:00
Ran Luo
761c499eae
Fix: prevent parse a url (#1301) 2019-09-01 09:56:36 +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
ac3617dd7c
fix: vega lite render error (#1295) 2019-08-28 13:23:32 +08:00