Skip to content

Commit

Permalink
chore(release): 3.108.0 [skip ci]
Browse files Browse the repository at this point in the history
# [3.108.0](v3.107.2...v3.108.0) (2025-01-16)

### Features

* **RTE:** changes RTE to use innerHTML instead of the provided method to get the semantic HTML to fix an issue with all spaces being non breaking spaces ([467c67f](467c67f))
  • Loading branch information
semantic-release-bot committed Jan 16, 2025
1 parent 467c67f commit 6a114f0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [3.108.0](https://github.com/ClearC2/grid-form-builder/compare/v3.107.2...v3.108.0) (2025-01-16)


### Features

* **RTE:** changes RTE to use innerHTML instead of the provided method to get the semantic HTML to fix an issue with all spaces being non breaking spaces ([467c67f](https://github.com/ClearC2/grid-form-builder/commit/467c67fa780758ae4d60f86421b91b4a47bdf92e))

## [3.107.2](https://github.com/ClearC2/grid-form-builder/compare/v3.107.1...v3.107.2) (2025-01-13)


Expand Down
6 changes: 5 additions & 1 deletion dist/cjs/Inputs/Richtextarea/Quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ var ReactQuill = /*#__PURE__*/function (_Component) {
if (source !== 'api') {
clearTimeout(_this.debounce);
_this.debounce = (0, _setTimeout2.default)(function () {
_this.props.onChange(_this.editor.getSemanticHTML());
var _this$editor, _this$editor$root, _this$editor2;

var html = ((_this$editor = _this.editor) === null || _this$editor === void 0 ? void 0 : (_this$editor$root = _this$editor.root) === null || _this$editor$root === void 0 ? void 0 : _this$editor$root.innerHTML) || ((_this$editor2 = _this.editor) === null || _this$editor2 === void 0 ? void 0 : _this$editor2.getSemanticHTML()) || '';

_this.props.onChange(html);
}, 750);
}
});
Expand Down
6 changes: 5 additions & 1 deletion dist/es/Inputs/Richtextarea/Quill.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ export var ReactQuill = /*#__PURE__*/function (_Component) {
if (source !== 'api') {
clearTimeout(_this.debounce);
_this.debounce = _setTimeout(function () {
_this.props.onChange(_this.editor.getSemanticHTML());
var _this$editor, _this$editor$root, _this$editor2;

var html = ((_this$editor = _this.editor) === null || _this$editor === void 0 ? void 0 : (_this$editor$root = _this$editor.root) === null || _this$editor$root === void 0 ? void 0 : _this$editor$root.innerHTML) || ((_this$editor2 = _this.editor) === null || _this$editor2 === void 0 ? void 0 : _this$editor2.getSemanticHTML()) || '';

_this.props.onChange(html);
}, 750);
}
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grid-form-builder",
"version": "3.107.2",
"version": "3.108.0",
"description": "Form Builder built on top of React Grid Layout",
"repository": {
"type": "git",
Expand Down

0 comments on commit 6a114f0

Please sign in to comment.