@cocreate/text 1.17.6 → 1.17.8
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 +14 -0
- package/demo/demos.html +1 -1
- package/demo/test-webpage.html +1 -1
- package/package.json +1 -1
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## [1.17.8](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.7...v1.17.8) (2022-09-29)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* config renameed to CoCreateConfig ([ba8e4d4](https://github.com/CoCreate-app/CoCreate-text/commit/ba8e4d4175b3c97663caebde7b8f2d53ddd816af))
|
7
|
+
|
8
|
+
## [1.17.7](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.6...v1.17.7) (2022-09-22)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* removed setClassStyle ([972a5c7](https://github.com/CoCreate-app/CoCreate-text/commit/972a5c75b5df9d4f59dac9c0ee87184a84a8a5bc))
|
14
|
+
|
1
15
|
## [1.17.6](https://github.com/CoCreate-app/CoCreate-text/compare/v1.17.5...v1.17.6) (2022-09-01)
|
2
16
|
|
3
17
|
|
package/demo/demos.html
CHANGED
@@ -29,7 +29,7 @@
|
|
29
29
|
</div>
|
30
30
|
</form>
|
31
31
|
<script>
|
32
|
-
var
|
32
|
+
var CoCreateConfig = {
|
33
33
|
apiKey: '2061acef-0451-4545-f754-60cf8160', // Your apiKey can be retrived after signing up at https://cocreate.app
|
34
34
|
organization_id: '5ff747727005da1c272740ab', // Your organization_id can be retrived after signing up at https://cocreate.app
|
35
35
|
host: 'general.cocreate.app' // Points to socket server. If not defined it will use the url in web browser by default
|
package/demo/test-webpage.html
CHANGED
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};
|