V7 dev (#499)
* update dependencies * Update .eslintrc.js * Update .gitignore * Create onpush.yml * downgrade 2 packages causing test failure * fix some localizaiton strings
This commit is contained in:
@@ -558,7 +558,7 @@ class TopPanel {
|
||||
if (!valid) {
|
||||
e.target.value = this.editor.selectedElement().getAttribute(attr);
|
||||
// eslint-disable-next-line no-alert
|
||||
alert(this.uiStrings.notification.invalidAttrValGiven);
|
||||
alert(this.i18next.t('notification.invalidAttrValGiven'));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -619,7 +619,7 @@ class TopPanel {
|
||||
if (!isNullish(this.editor.selectedElement) || this.multiselected) {
|
||||
// eslint-disable-next-line no-alert
|
||||
const url = prompt(
|
||||
this.uiStrings.notification.enterNewLinkURL,
|
||||
this.i18next.t('notification.enterNewLinkURL'),
|
||||
"http://"
|
||||
);
|
||||
if (url) {
|
||||
|
||||
Reference in New Issue
Block a user