From c7faf3d97e30bb0067fdefa71c2155379c4fc6a6 Mon Sep 17 00:00:00 2001 From: Sahatsawat Kanpai Date: Wed, 22 Jan 2025 17:53:18 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=BC=20=20adjust=20icon=20for=20insert/?= =?UTF-8?q?import,=20got=20@esi=5Fpackage/ckeditor5-import@0.0.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/import.ts | 3 ++- src/index.ts | 4 +++- theme/icons/ckeditorr.svg | 22 ++++++++++++++++++++++ 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 theme/icons/ckeditorr.svg diff --git a/package.json b/package.json index ed44fb7..3e15cd2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@esi_package/ckeditor5-import", - "version": "0.0.4", + "version": "0.0.5", "description": "A plugin for CKEditor 5.", "keywords": [ "ckeditor", diff --git a/src/import.ts b/src/import.ts index 2f754b7..f7a1de8 100644 --- a/src/import.ts +++ b/src/import.ts @@ -1,6 +1,7 @@ import { Plugin, ButtonView } from 'ckeditor5'; import ckeditor5Icon from '../theme/icons/ckeditor.svg'; +import ckeditor5Iconn from '../theme/icons/ckeditorr.svg'; // import { asBlob } from 'html-docx-js-typescript'; // import { saveAs } from 'file-saver'; @@ -24,7 +25,7 @@ export default class Import extends Plugin { view.set( { label: t( 'Import Docx' ), - icon: ckeditor5Icon, + icon: ckeditor5Iconn, tooltip: true } ); diff --git a/src/index.ts b/src/index.ts index 0a5fe4d..6c8f5a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,10 @@ import ckeditor from './../theme/icons/ckeditor.svg'; +import ckeditorr from './../theme/icons/ckeditor.svg'; import './augmentation.js'; export { default as Import } from './import.js'; export const icons = { - ckeditor + ckeditor, + ckeditorr }; diff --git a/theme/icons/ckeditorr.svg b/theme/icons/ckeditorr.svg new file mode 100644 index 0000000..9984de9 --- /dev/null +++ b/theme/icons/ckeditorr.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file