File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/components/inline-tools Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 2828– ` Fix ` — Deleting whitespaces at the start/end of the block
2929– ` Improvement ` — * Types* — ` BlockToolConstructorOptions ` type improved, ` block ` and ` config ` are not optional anymore
3030- ` Improvement ` - The Plus button and Block Tunes toggler are now better aligned with large line-height blocks, such as Headings
31+ - ` Improvement ` — Creating links on Android devices: now the mobile keyboard will have an "Enter" key for accepting the inserted link.
3132
3233### 2.29.1
3334
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ export default class LinkInlineTool implements InlineTool {
134134 public renderActions ( ) : HTMLElement {
135135 this . nodes . input = document . createElement ( 'input' ) as HTMLInputElement ;
136136 this . nodes . input . placeholder = this . i18n . t ( 'Add a link' ) ;
137+ this . nodes . input . enterKeyHint = 'done' ;
137138 this . nodes . input . classList . add ( this . CSS . input ) ;
138139 this . nodes . input . addEventListener ( 'keydown' , ( event : KeyboardEvent ) => {
139140 if ( event . keyCode === this . ENTER_KEY ) {
You can’t perform that action at this time.
0 commit comments