Skip to content

Commit 3dd9741

Browse files
Merge pull request #56 from tinymce/feature/INT-2756
INT-2756: add `statusbar` attribute
2 parents 684c7fa + c9666e4 commit 3dd9741

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Fixed
1010
- The `id` attribute was not being used as the id for the editor.
1111

12+
### Added
13+
- Added new `statusbar` attribute that sets the editors `statusbar` config option.
14+
1215
## 2.0.2 - 2023-03-27
1316

1417
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@
4949
"webpack": "^5.75.0"
5050
},
5151
"dependencies": {},
52-
"version": "2.0.3-rc",
52+
"version": "2.1.0-rc",
5353
"name": "@tinymce/tinymce-webcomponent"
5454
}

src/main/ts/component/Editor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const parseNumberOrString = (value: string) => /^\d+$/.test(value) ? Number.pars
4848

4949
const configAttributes: Record<string, (v: string) => unknown> = {
5050
setup: parseGlobal, // function
51+
statusbar: parseBooleanOrString, // boolean
5152
toolbar: parseFalseOrString, // string or false
5253
menubar: parseFalseOrString, // string or false
5354
plugins: parseString, // string

0 commit comments

Comments
 (0)