Commit Graph

1431 Commits

Author SHA1 Message Date
罗冉
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
Zhang Wang
5c47f12c80 fix grammar error (#1524) 2019-10-24 11:40:56 +08:00
Ran Luo
f1f048f53d
Fix can not fetch unsplash pictures (#1518) 2019-10-24 08:37:19 +08:00
Ran Luo
ca0905dc60 Update dependences (#1519) 2019-10-23 22:27:39 +02: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
Ran Luo
0ae59e9ce4 Update deps (#1496) 2019-10-18 18:19:03 +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
b819042d73 Update joplin-turndown-plugin-gfm to fix #1472 (#1478) 2019-10-13 13:23:21 +02: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
Felix Häusler
dbac418f4c Fix build issue on Windows with optional dependency (#1475) 2019-10-12 07:45:56 +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