Skip to content

Commit

Permalink
Merge pull request #22 from ckeditor/bump-build-tools
Browse files Browse the repository at this point in the history
The global names for the `ckeditor5` and `ckeditor5-premium-features` packages in the UMD builds have been changed to `CKEDITOR` and `CKEDITOR_PREMIUM_FEATURES`, respectively. See ckeditor/ckeditor5#16798.
  • Loading branch information
pszczesniak authored Aug 8, 2024
2 parents 238bc92 + 35b910a commit 4cb02b9
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 56 deletions.
2 changes: 1 addition & 1 deletion dist/browser/index-editor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/browser/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/browser/index.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/index.umd.js.map

Large diffs are not rendered by default.

89 changes: 46 additions & 43 deletions dist/index-editor.css
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
.ck-mermaid__wrapper {
display: flex;
justify-content: center;
}
.ck-mermaid__wrapper .ck-mermaid__editing-view {
padding: 16px;
background-color: hsla(0, 0%, 78%, 0.3);
min-height: 200px;
border: 0;
resize: vertical;
font-size: 12px;
outline: 0;
}
.ck-mermaid__preview {
display: flex;
justify-content: center;
}
[id^="dmermaid-"] {
display: flex;
align-items: center;
height: 100%;
justify-content: center;
}
[id^="dmermaid-"] svg {
display: block;
width: 60%;
height: auto;
}
.ck-mermaid__source-mode .ck-mermaid__editing-view {
width: 100%;
}
.ck-mermaid__source-mode .ck-mermaid__preview {
display: none;
}
.ck-mermaid__split-mode .ck-mermaid__editing-view {
width: 50%;
}
.ck-mermaid__split-mode .ck-mermaid__preview {
width: 50%;
}
.ck-mermaid__preview-mode .ck-mermaid__editing-view {
display: none;
}
.ck-mermaid__wrapper{
display:flex;
justify-content:center;
}
.ck-mermaid__wrapper .ck-mermaid__editing-view{
padding:16px;
background-color:hsla(0, 0%, 78%, 0.3);
min-height:200px;
border:0;
resize:vertical;
font-size:12px;
outline:0;
}
.ck-mermaid__preview{
display:flex;
justify-content:center;
}
[id^="dmermaid-"]{
display:flex;
align-items:center;
height:100%;
justify-content:center;
}

[id^="dmermaid-"] svg{
display:block;
width:60%;
height:auto;
}
.ck-mermaid__source-mode .ck-mermaid__editing-view{
width:100%;
}

.ck-mermaid__source-mode .ck-mermaid__preview{
display:none;
}
.ck-mermaid__split-mode .ck-mermaid__editing-view{
width:50%;
}

.ck-mermaid__split-mode .ck-mermaid__preview{
width:50%;
}
.ck-mermaid__preview-mode .ck-mermaid__editing-view{
display:none;
}
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckeditor/ckeditor5-mermaid",
"version": "0.0.3",
"version": "0.0.4",
"description": "Mermaid widget for CKEditor 5.",
"private": true,
"keywords": [
Expand Down Expand Up @@ -34,20 +34,20 @@
"lodash-es": "^4.17.15"
},
"devDependencies": {
"@ckeditor/ckeditor5-dev-build-tools": "^40.2.0",
"@ckeditor/ckeditor5-dev-build-tools": "^42.0.0",
"@ckeditor/ckeditor5-inspector": "^4.0.0",
"@ckeditor/ckeditor5-package-tools": "^2.0.0",
"@ckeditor/ckeditor5-package-tools": "^2.1.0",
"ckeditor5": "latest",
"eslint": "^7.32.0",
"eslint-config-ckeditor5": "^6.0.0",
"http-server": "^14.1.0",
"http-server": "^14.1.1",
"husky": "^4.2.5",
"lint-staged": "^10.2.6",
"lint-staged": "^12.0.0",
"stylelint": "^13.13.1",
"stylelint-config-ckeditor5": ">=2.0.1"
"stylelint-config-ckeditor5": ">=6.0.0"
},
"peerDependencies": {
"ckeditor5": ">=42.0.0 || ^0.0.0-nightly"
"ckeditor5": ">=43.0.0 || ^0.0.0-nightly"
},
"scripts": {
"dll:build": "ckeditor5-package-tools dll:build",
Expand Down

0 comments on commit 4cb02b9

Please sign in to comment.