@cocreate/text 1.17.6 → 1.17.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [1.17.7](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.6...v1.17.7) (2022-09-22)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* removed setClassStyle ([972a5c7](https://github.com/CoCreate-app/CoCreate-text/commit/972a5c75b5df9d4f59dac9c0ee87184a84a8a5bc))
|
7
|
+
|
1
8
|
## [1.17.6](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.5...v1.17.6) (2022-09-01)
|
2
9
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
@@ -5,7 +5,7 @@ import crdt from '@cocreate/crdt';
|
|
5
5
|
import cursors from '@cocreate/cursors';
|
6
6
|
import uuid from '@cocreate/uuid';
|
7
7
|
import {updateDom} from './updateDom';
|
8
|
-
import {insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle,
|
8
|
+
import {insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle, replaceInnerText} from './updateText';
|
9
9
|
import {getSelection, processSelection} from '@cocreate/selection';
|
10
10
|
import action from '@cocreate/actions';
|
11
11
|
import './saveDomText';
|
@@ -424,4 +424,4 @@ action.init({
|
|
424
424
|
|
425
425
|
init();
|
426
426
|
|
427
|
-
export default {initElements, initElement, updateText, updateElement, _addEventListeners, insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle,
|
427
|
+
export default {initElements, initElement, updateText, updateElement, _addEventListeners, insertAdjacentElement, removeElement, setInnerText, setAttribute, removeAttribute, setClass, setStyle, replaceInnerText};
|