@fluxfiles/ckeditor5 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -128,7 +128,7 @@ var FluxFilesCommand = class extends Command {
128
128
  };
129
129
 
130
130
  // src/fluxfiles.ts
131
- var ICON = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 16.5v-6h4.5M10 13.5h3.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';
131
+ var ICON = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M3 5a2 2 0 012-2h5l2 2h7a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V5z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M10 16.5v-7h4.5M10 13h3.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';
132
132
  var FluxFiles = class extends Plugin {
133
133
  static get pluginName() {
134
134
  return "FluxFiles";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluxfiles/ckeditor5",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "CKEditor 5 plugin for FluxFiles",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/fluxfiles.ts CHANGED
@@ -3,13 +3,14 @@ import type { Locale } from 'ckeditor5';
3
3
  import type { FluxFilesConfig } from './config';
4
4
  import { FluxFilesCommand } from './fluxfilescommand';
5
5
 
6
- // The same F-folder glyph the TinyMCE and CKEditor 4 plugins use. currentColor
6
+ // The FluxFiles logo's square folder silhouette with an "F", as a line icon, identical
7
+ // in the TinyMCE, CKEditor 4 and Summernote plugins. currentColor
7
8
  // lets CKEditor 5 recolour it for hover / disabled / dark themes.
8
9
  const ICON =
9
10
  '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">' +
10
- '<path d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z" ' +
11
+ '<path d="M3 5a2 2 0 012-2h5l2 2h7a2 2 0 012 2v12a2 2 0 01-2 2H5a2 2 0 01-2-2V5z" ' +
11
12
  'stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>' +
12
- '<path d="M10 16.5v-6h4.5M10 13.5h3.5" ' +
13
+ '<path d="M10 16.5v-7h4.5M10 13h3.5" ' +
13
14
  'stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>';
14
15
 
15
16
  /** Minimal shape of the optional ImageInsertUI plugin (CKEditor's image package). */