Updated bartender html and added html editor to article creation.
This commit is contained in:
1 parent
6a10bba10e
commit
1701a806fc
6 files changed
+587
-610
No files matched your search
@@ -276,6 +276,7 @@ export const useLabelEditorStore = defineStore('label_editor_store', {
|
||||
try {
|
||||
if (article.ingredients != null) {
|
||||
article.ingredients = article.ingredients.replace(/style="[^"]*"/g, '');
|
||||
article.ingredients = article.ingredients.replace(/<\/?p[^>]*>/g, '');
|
||||
}
|
||||
|
||||
let updatedArticle = await $fetch<Article>(this.config.public.url + '/article/' + article.id, {
|
||||
|
||||
Reference in new issue
Block a user