@saooti/octopus-sdk 40.1.0 → 40.1.1
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/index.ts
CHANGED
|
@@ -53,6 +53,7 @@ export const getEmissionInlineList = () => import("./src/components/display/emis
|
|
|
53
53
|
export const getRubriqueChooser = () => import("./src/components/display/rubriques/RubriqueChooser.vue");
|
|
54
54
|
export const getCommentList = () => import("./src/components/display/comments/CommentList.vue");
|
|
55
55
|
export const getCommentInput = () => import("./src/components/display/comments/CommentInput.vue");
|
|
56
|
+
export const getCommentSection = () => import("./src/components/display/comments/CommentSection.vue");
|
|
56
57
|
export const getPodcastPlaylistInlineList = () => import("./src/components/display/playlist/PodcastPlaylistInlineList.vue");
|
|
57
58
|
export const getLiveList = () => import("./src/components/display/live/LiveList.vue");
|
|
58
59
|
export const getEmissionPresentationList = () => import("./src/components/display/emission/EmissionPresentationList.vue");
|
package/package.json
CHANGED
|
@@ -203,7 +203,7 @@ export default defineComponent({
|
|
|
203
203
|
updateHtml(): void {
|
|
204
204
|
if (!this.editor) {return}
|
|
205
205
|
const plainText= this.editor.getText();
|
|
206
|
-
const regexHtml = /<(a|b|h3|h4|em|i|li|ol|p|strong|ul|u|br)
|
|
206
|
+
const regexHtml = /<(a|b|h3|h4|em|i|li|ol|p|strong|ul|u|br|span).*?/i
|
|
207
207
|
if(regexHtml.test(plainText)){
|
|
208
208
|
this.editor.commands.setContent(plainText);
|
|
209
209
|
}
|