Skip to content

Commit

Permalink
chore: code style, composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
maikschneider committed Oct 6, 2023
1 parent 0a15ab0 commit 7e4376d
Show file tree
Hide file tree
Showing 6 changed files with 1,384 additions and 933 deletions.
1 change: 0 additions & 1 deletion Classes/Utility/CssUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class CssUtility
{

public ContentObjectRenderer $cObj;

public function includeStyleSheets(): string
Expand Down
1 change: 0 additions & 1 deletion Resources/Private/TypeScript/IconPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default class IconPicker extends Core.Plugin {
editor.ui.componentFactory.add(IconPicker.pluginName, locale => {
const button = new UI.ButtonView(locale);
button.label = 'Icon Picker';
// @todo introduce SVG loader
button.icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path fill="#333" d="M29.55 1.6H9.05A7.48 7.48 0 0 0 1.6 9.05v20.5c0 4.1 3.35 7.45 7.45 7.45h20.5c4.1 0 7.45-3.35 7.45-7.45V9.05c0-4.1-3.35-7.45-7.45-7.45Zm4.1 27.95c0 2.23-1.83 4.1-4.1 4.1H9.05a4.11 4.11 0 0 1-4.1-4.1V9.05c0-2.24 1.83-4.1 4.1-4.1h20.5c2.23 0 4.1 1.83 4.1 4.1v20.5Z"/><path fill="#333" d="M16.43 13.93a3.17 3.17 0 1 0-6.33 0 3.17 3.17 0 0 0 6.33 0Z"/><path fill="#333" d="M28.47 13.93a3.17 3.17 0 1 1-6.34 0 3.17 3.17 0 0 1 6.34 0Z"/><path fill="#333" d="M23.62 21.53h-8.65c-.74 0-1.41.38-1.82 1.01-.41.6-.45 1.38-.19 2.01a6.94 6.94 0 0 0 6.3 4.14c2.72 0 5.22-1.6 6.3-4.14.3-.67.22-1.41-.19-2.01-.33-.63-1-1-1.75-1Z"/></svg>';
button.on('execute', () => this.picker.rteButtonClick());
return button;
Expand Down
1 change: 0 additions & 1 deletion Resources/Public/ECMAScript6/IconPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class IconPicker extends Core.Plugin {
editor.ui.componentFactory.add(IconPicker.pluginName, locale => {
const button = new UI.ButtonView(locale);
button.label = 'Icon Picker';
// @todo introduce SVG loader
button.icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path fill="#333" d="M29.55 1.6H9.05A7.48 7.48 0 0 0 1.6 9.05v20.5c0 4.1 3.35 7.45 7.45 7.45h20.5c4.1 0 7.45-3.35 7.45-7.45V9.05c0-4.1-3.35-7.45-7.45-7.45Zm4.1 27.95c0 2.23-1.83 4.1-4.1 4.1H9.05a4.11 4.11 0 0 1-4.1-4.1V9.05c0-2.24 1.83-4.1 4.1-4.1h20.5c2.23 0 4.1 1.83 4.1 4.1v20.5Z"/><path fill="#333" d="M16.43 13.93a3.17 3.17 0 1 0-6.33 0 3.17 3.17 0 0 0 6.33 0Z"/><path fill="#333" d="M28.47 13.93a3.17 3.17 0 1 1-6.34 0 3.17 3.17 0 0 1 6.34 0Z"/><path fill="#333" d="M23.62 21.53h-8.65c-.74 0-1.41.38-1.82 1.01-.41.6-.45 1.38-.19 2.01a6.94 6.94 0 0 0 6.3 4.14c2.72 0 5.22-1.6 6.3-4.14.3-.67.22-1.41-.19-2.01-.33-.63-1-1-1.75-1Z"/></svg>';
button.on('execute', () => this.picker.rteButtonClick());
return button;
Expand Down
1 change: 0 additions & 1 deletion Resources/Public/JavaScript/IconPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ define(['TYPO3/CMS/Ckeditor5Bundle', '@blueways/bw-icons/IconSelection.js'], (fu
editor.ui.componentFactory.add(IconPicker.pluginName, locale => {
const button = new ckeditor5Bundle_js.UI.ButtonView(locale);
button.label = 'Icon Picker';
// @todo introduce SVG loader
button.icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path fill="#333" d="M29.55 1.6H9.05A7.48 7.48 0 0 0 1.6 9.05v20.5c0 4.1 3.35 7.45 7.45 7.45h20.5c4.1 0 7.45-3.35 7.45-7.45V9.05c0-4.1-3.35-7.45-7.45-7.45Zm4.1 27.95c0 2.23-1.83 4.1-4.1 4.1H9.05a4.11 4.11 0 0 1-4.1-4.1V9.05c0-2.24 1.83-4.1 4.1-4.1h20.5c2.23 0 4.1 1.83 4.1 4.1v20.5Z"/><path fill="#333" d="M16.43 13.93a3.17 3.17 0 1 0-6.33 0 3.17 3.17 0 0 0 6.33 0Z"/><path fill="#333" d="M28.47 13.93a3.17 3.17 0 1 1-6.34 0 3.17 3.17 0 0 1 6.34 0Z"/><path fill="#333" d="M23.62 21.53h-8.65c-.74 0-1.41.38-1.82 1.01-.41.6-.45 1.38-.19 2.01a6.94 6.94 0 0 0 6.3 4.14c2.72 0 5.22-1.6 6.3-4.14.3-.67.22-1.41-.19-2.01-.33-.63-1-1-1.75-1Z"/></svg>';
button.on('execute', () => this.picker.rteButtonClick());
return button;
Expand Down
Loading

0 comments on commit 7e4376d

Please sign in to comment.