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
Improve Toolbar #116
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Fix .resizing-sidebar-locked-min cursor - Extend no pointer events
- Add H1, H2, H3 - Add LINK - Add PRE - Add HIGH
penge
commented
Jun 26, 2020
penge
commented
Jun 26, 2020
penge
commented
Jun 26, 2020
- Add styles for PRE - Add styles for HIGH
penge
commented
Jun 26, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This release is primarily about improving the Toolbar.
What's new:
Headings
H2
andH2
are added back (also with a newH1
) (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 theCtrl
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 obsoleteexecCommand
(See Use of obsolete browser API execCommand #93) but has a limitation asCtrl + 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.