diff --git a/package.json b/package.json index 9354c23..45863ea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@editorjs/quote", - "version": "2.7.5", + "version": "2.7.6", "keywords": [ "codex editor", "quote", diff --git a/src/index.ts b/src/index.ts index a4aacbe..ed3560b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -164,9 +164,9 @@ export default class Quote implements BlockTool { this.readOnly = readOnly; this.quotePlaceholder - = config?.quotePlaceholder ?? Quote.DEFAULT_QUOTE_PLACEHOLDER; + = api.i18n.t(config?.quotePlaceholder ?? Quote.DEFAULT_QUOTE_PLACEHOLDER); this.captionPlaceholder - = config?.captionPlaceholder ?? Quote.DEFAULT_CAPTION_PLACEHOLDER; + = api.i18n.t(config?.captionPlaceholder ?? Quote.DEFAULT_CAPTION_PLACEHOLDER); this.data = { text: data.text || '',