Updated bartender html and added html editor to article creation.

This commit is contained in:
2026-02-10 04:03:05 +01:00
parent 6a10bba10e
commit 1701a806fc
6 changed files with 587 additions and 610 deletions
+1
View File
@@ -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, {