Skip to content

Commit

Permalink
Removed WSC because it breaks npm installs (duplicated modules). Upda…
Browse files Browse the repository at this point in the history
…ted paths to CSS files.
  • Loading branch information
Reinmar committed Jun 6, 2024
1 parent 572af37 commit 8f66b1f
Show file tree
Hide file tree
Showing 23 changed files with 46 additions and 51 deletions.
8 changes: 4 additions & 4 deletions ai-assistant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ import {
PasteFromOfficeEnhanced,
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

// @ts-ignore
import coreStylesheets from 'ckeditor5/index.css?url';
import coreStylesheets from 'ckeditor5/ckeditor5.css?url';
// @ts-ignore
import premiumStylesheets from 'ckeditor5-premium-features/index.css?url';
import premiumStylesheets from 'ckeditor5-premium-features/ckeditor5-premium-features.css?url';

ClassicEditor.create(
document.querySelector('#cke5-ai-assistant-demo') as HTMLElement,
Expand Down
10 changes: 5 additions & 5 deletions feature-rich/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ import {
TemplateDefinition
} from 'ckeditor5-premium-features';

import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';
// import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

// @ts-ignore
import coreStylesheets from 'ckeditor5/index.css?url';
import coreStylesheets from 'ckeditor5/ckeditor5.css?url';
// @ts-ignore
import premiumStylesheets from 'ckeditor5-premium-features/index.css?url';
import premiumStylesheets from 'ckeditor5-premium-features/ckeditor5-premium-features.css?url';

const exportHorizontalSpace = '10mm';
const exportVerticalSpace = '12mm';
Expand Down
1 change: 0 additions & 1 deletion feature-rich/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"devDependencies": {
"ckeditor5": "nightly",
"ckeditor5-premium-features": "nightly",
"@webspellchecker/wproofreader-ckeditor5": "2.3.1",
"vite": "^5.0.0"
}
}
2 changes: 1 addition & 1 deletion headless/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
Underline,
} from 'ckeditor5';

import 'ckeditor5/index.css';
import 'ckeditor5/ckeditor5.css';

class HeadlessEditor extends DecoupledEditor {}

Expand Down
2 changes: 1 addition & 1 deletion internationalization/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import deTranslations from 'ckeditor5/translations/de.js';
import arTranslations from 'ckeditor5/translations/ar.js';
import jaTranslations from 'ckeditor5/translations/ja.js';

import 'ckeditor5/index.css';
import 'ckeditor5/ckeditor5.css';

const plugins = [
Alignment,
Expand Down
4 changes: 2 additions & 2 deletions markdown/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features'

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

/**
* Enrich the special characters plugin with emojis.
Expand Down
2 changes: 1 addition & 1 deletion mathtype/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import {

import MathType from '@wiris/mathtype-ckeditor5/src/plugin';

import 'ckeditor5/index.css';
import 'ckeditor5/ckeditor5.css';

ClassicEditor.create(
document.querySelector('#cke5-mathtype-demo') as HTMLElement,
Expand Down
2 changes: 1 addition & 1 deletion mobile/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
Underline,
} from 'ckeditor5';

import 'ckeditor5/index.css';
import 'ckeditor5/ckeditor5.css';

ClassicEditor.create(
document.querySelector('#cke5-mobile-demo') as HTMLElement,
Expand Down
4 changes: 2 additions & 2 deletions paste-from-office-enhanced/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ import {
PasteFromOfficeEnhanced
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

const REDUCED_MATERIAL_COLORS = [
{ label: 'Red 50', color: '#ffebee' },
Expand Down
10 changes: 5 additions & 5 deletions productivity-pack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ import {
SlashCommand,
} from 'ckeditor5-premium-features';

import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';
// import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

// @ts-ignore
import coreStylesheets from 'ckeditor5/index.css?url';
import coreStylesheets from 'ckeditor5/ckeditor5.css?url';
// @ts-ignore
import premiumStylesheets from 'ckeditor5-premium-features/index.css?url';
import premiumStylesheets from 'ckeditor5-premium-features/ckeditor5-premium-features.css?url';

const TEMPLATE_DEFINITIONS = [
{
Expand Down
1 change: 0 additions & 1 deletion productivity-pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"devDependencies": {
"ckeditor5": "nightly",
"ckeditor5-premium-features": "nightly",
"@webspellchecker/wproofreader-ckeditor5": "2.3.1",
"vite": "^5.0.0"
}
}
10 changes: 5 additions & 5 deletions source-code-editing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ import {
SlashCommand,
} from 'ckeditor5-premium-features';

import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';
// import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

// @ts-ignore
import coreStylesheets from 'ckeditor5/index.css?url';
import coreStylesheets from 'ckeditor5/ckeditor5.css?url';
// @ts-ignore
import premiumStylesheets from 'ckeditor5-premium-features/index.css?url';
import premiumStylesheets from 'ckeditor5-premium-features/ckeditor5-premium-features.css?url';

const exportHorizontalSpace = '10mm';
const exportVerticalSpace = '12mm';
Expand Down
1 change: 0 additions & 1 deletion source-code-editing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"devDependencies": {
"ckeditor5": "nightly",
"ckeditor5-premium-features": "nightly",
"@webspellchecker/wproofreader-ckeditor5": "2.3.1",
"vite": "^5.0.0"
}
}
4 changes: 2 additions & 2 deletions user-interface-balloon-block/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

BalloonEditor.create(
document.querySelector('#cke5-user-interface-balloon-block-demo') as HTMLElement,
Expand Down
4 changes: 2 additions & 2 deletions user-interface-balloon/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

BalloonEditor.create(
document.querySelector('#cke5-user-interface-balloon-demo') as HTMLElement,
Expand Down
4 changes: 2 additions & 2 deletions user-interface-bottom-toolbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

type PanelPosition = DropdownPanelView['position'];

Expand Down
4 changes: 2 additions & 2 deletions user-interface-button-grouping/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

/**
* Enrich the special characters plugin with emojis.
Expand Down
4 changes: 2 additions & 2 deletions user-interface-classic/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

ClassicEditor.create(
document.querySelector('#cke5-user-interface-classic-demo') as HTMLElement,
Expand Down
10 changes: 5 additions & 5 deletions user-interface-document/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ import {
SlashCommand,
} from 'ckeditor5-premium-features';

import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';
// import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

// @ts-ignore
import coreStylesheets from 'ckeditor5/index.css?url';
import coreStylesheets from 'ckeditor5/ckeditor5.css?url';
// @ts-ignore
import premiumStylesheets from 'ckeditor5-premium-features/index.css?url';
import premiumStylesheets from 'ckeditor5-premium-features/ckeditor5-premium-features.css?url';

const TEMPLATE_DEFINITIONS = [
{
Expand Down
1 change: 0 additions & 1 deletion user-interface-document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"devDependencies": {
"ckeditor5": "nightly",
"ckeditor5-premium-features": "nightly",
"@webspellchecker/wproofreader-ckeditor5": "2.3.1",
"vite": "^5.0.0"
}
}
4 changes: 2 additions & 2 deletions user-interface-inline/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ import {
SlashCommand
} from 'ckeditor5-premium-features';

import 'ckeditor5/index.css';
import 'ckeditor5-premium-features/index.css';
import 'ckeditor5/ckeditor5.css';
import 'ckeditor5-premium-features/ckeditor5-premium-features.css';

const defaultConfig: EditorConfig = {
plugins: [
Expand Down
4 changes: 2 additions & 2 deletions wproofreader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ import {
TodoList,
} from 'ckeditor5';

import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';
// import WProofreader from '@webspellchecker/wproofreader-ckeditor5/src/wproofreader';

import 'ckeditor5/index.css';
import 'ckeditor5/ckeditor5.css';

ClassicEditor.create(
document.querySelector('#cke5-spellchecker-demo') as HTMLElement,
Expand Down
1 change: 0 additions & 1 deletion wproofreader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"devDependencies": {
"ckeditor5": "nightly",
"@webspellchecker/wproofreader-ckeditor5": "2.3.1",
"vite": "^5.0.0"
}
}

0 comments on commit 8f66b1f

Please sign in to comment.