Removed autofocus on placeholders.
This commit is contained in:
parent
406eae642d
commit
303cc0f9fe
1 changed files with 2 additions and 1 deletions
|
@ -1672,7 +1672,8 @@
|
||||||
if ( s.mode !== Medium.inlineMode && s.mode !== Medium.inlineRichMode ) {
|
if ( s.mode !== Medium.inlineMode && s.mode !== Medium.inlineRichMode ) {
|
||||||
utils.setupContents();
|
utils.setupContents();
|
||||||
|
|
||||||
if (childCount === 0 && el.firstChild) {
|
// set auto focus
|
||||||
|
if (this.settings.autofocus && childCount === 0 && el.firstChild) {
|
||||||
cursor.set(0, el.firstChild);
|
cursor.set(0, el.firstChild);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue