Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加备注窗口预览功能 / 尝试修复输入法ESC键的Bug #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

AnClark
Copy link

@AnClark AnClark commented Nov 10, 2020

注:关于中文输入法ESC取消拼音输入时退出节点编辑框的修复,只在单独运行(grunt dev)时有效,但在桌面版脑图中不起作用。

This provides previewing GFM within the note editor, without hovering on the
node's "Note" icon. Toggle preview by pressing the "Toggle preview" button
on the left of the "Close" button.
Previewer state will be kept during a session.

Study Notes:
- Use ng-class to dynamically change an element's appearance (for creating
switch button)
- Use ng-bind-html to show HTML with the principle of AngularJS
- Know about how ng-show, ng-init and ng-click works. By using them we
won't need to write extra codes for controllers.

References:
- Create a switch button with AngularJS: https://www.shuzhiduo.com/A/D854LW9w5E/
- Show HTML content properly with ng-bind-html: https://www.cnblogs.com/lyy-2016/p/7928728.html
The dist/ folder will change on each build/dev process.
You should FIXUP such commits which update the dist/ directory.

dist update: 2020/11/29
比较自ACTom提交版本8f89e6cfe0b195e。

主要内容:
- 加入德、法、西、意与繁体中文的支持
- 进一步多语言化一些部分,包括新建节点、优先级图标、进度图标、搜索框。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant