@saooti/octopus-sdk 38.3.16 → 38.3.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "38.3.16",
3
+ "version": "38.3.17",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -235,6 +235,9 @@ export default defineComponent({
235
235
  updateHtml(): void {
236
236
  if (this.editor) {
237
237
  this.html = this.editor.getHTML();
238
+ if(this.html.startsWith("<p>")){
239
+ this.html.substring(3, this.html.length - 4);
240
+ }
238
241
  this.$emit("update:content", this.html);
239
242
  }
240
243
  },
@@ -278,6 +281,7 @@ export default defineComponent({
278
281
  white-space: pre-wrap;
279
282
  width: 0;
280
283
  flex-grow: 1;
284
+ overflow: auto;
281
285
  }
282
286
  .editor-menubar {
283
287
  display: flex;