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

Improve Toolbar #116

Merged
merged 5 commits into from Jun 26, 2020
Merged

Improve Toolbar #116

merged 5 commits into from Jun 26, 2020

Conversation

penge
Copy link
Owner

@penge penge commented Jun 26, 2020

This release is primarily about improving the Toolbar.

What's new:

  • Headings H2 and H2 are added back (also with a new H1) (Closes Restore H2 and H3 headings #111). To use Headings, move the mouse over the new "double T" icon.

  • Added new control to Insert Link (Closes Add Control to insert a Link #112). After the link is inserted, you can edit its text, although this is currently limited to simple editing (you can erase parts of the link from the sides to make it shorter). To open the link, hold down the Ctrl key and click on the link (you will see the cursor will also change to a Hand).

  • Added new control to format the selected text as a Code Block (Closes Add Control to set a snippet of Code #113). This control will format the selected text (html, css, js, or other) as a block of code, with a border, and a monospaced font. To customize the border color, see Custom theme.

  • Added new control to Highlight the selected text (Closes Option to highlight text in Note #105). This is a first implementation that doesn't use the obsolete execCommand (See Use of obsolete browser API execCommand #93) but has a limitation as Ctrl + z (Undo) does not work—in order to un-highlight the highlighted text, select it, and use the control again. To customize the highlight background and foreground color, see Custom theme.

  • Added new control to Remove Format (Closes Add Control to Remove text formatting #114). This control will help you to remove text formatting, like from heading to a text, or from bold to a regular text, etc.

- Fix .resizing-sidebar-locked-min cursor
- Extend no pointer events
- Add H1, H2, H3
- Add LINK
- Add PRE
- Add HIGH
@penge penge added this to the 3.3 milestone Jun 26, 2020
notes.css Show resolved Hide resolved
notes.html Show resolved Hide resolved
notes.html Show resolved Hide resolved
Copy link
Owner Author

@penge penge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go.

notes.js Show resolved Hide resolved
notes/content.js Show resolved Hide resolved
notes/content.js Show resolved Hide resolved
notes/content.js Show resolved Hide resolved
notes/modals.js Show resolved Hide resolved
notes/toolbar.js Show resolved Hide resolved
notes/toolbar.js Show resolved Hide resolved
@penge penge merged commit 5243cf9 into master Jun 26, 2020
@penge penge deleted the next branch June 26, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant