Commit Graph

1464 Commits

Author SHA1 Message Date
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
Ran Luo
c57b16b4f4 Update: electron@6.0.12 (#1467) 2019-10-10 21:00:36 +02:00
Felix Häusler
9567c143d3 Allow 1x1, 1x2 and 2x1 tables (#1462) 2019-10-10 02:00:17 +08:00
Ran Luo
ff1da05e48 Fix not fail e2e XSS test (#1458) 2019-10-08 20:10:58 +02: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
Felix Häusler
2f65f6cec0 Optimize bundle dependency size (#1449) 2019-10-05 22:55: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
Ran Luo
b791fd2371 Update dependences (#1444) 2019-10-05 14:51:08 +02:00
Felix Häusler
2c15d516c3 Fix application menu exceptions (#1437) 2019-10-04 21:59:47 +08:00
Pattarawat Chormai
cc63cf87da Fix the download section anchor (#1440) 2019-10-04 16:39: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
Felix Häusler
c85050b340 Update documents (#1439) 2019-10-03 23:07:53 +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