-
Notifications
You must be signed in to change notification settings - Fork 10
Conversation
You need to update |
const editor = this.editor; | ||
const t = editor.t; | ||
const command = editor.commands.get( 'underline' ); | ||
const keystroke = 'CTRL+U'; |
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.
I'm not sure about this. Does CKE4 have some shortcut? Is it common for Ctrl+U to make underline? cc @oleq @Comandeer
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.
Yes, there's shortcut for it in CKE4 – Ctrl+U
. The same shortcut is also available in Word, so it's probably safe to suppose that it's a de facto standard.
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.
In Pages CMD+U
also works as I expected (makes underline).
Done in e14259d. Another question related to translation – should I do anything with translations files? |
Nope. Uploading and downloading data to/from Transifex is done by me. |
src/underlineengine.js
Outdated
*/ | ||
|
||
/** | ||
* @module basic-styles/underline |
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.
@module basic-styles/underlineengine
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.
Fixed in 2a1e748.
Suggested merge commit message (convention)
Feature: Introduced the
Underline
plugin. Closes ckeditor/ckeditor5#5545.