@saooti/octopus-sdk 38.3.15 → 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
|
@@ -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;
|
|
@@ -213,7 +213,7 @@ export default defineComponent({
|
|
|
213
213
|
"" !== this.authOrganisation.id
|
|
214
214
|
? this.authOrganisation.id
|
|
215
215
|
: state.generalParameters.organisationId;
|
|
216
|
-
if (!orgaId
|
|
216
|
+
if (!orgaId?.length) {
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
const attributes = await this.getOrgaAttributes(orgaId ?? "");
|