Updated bartender html and added html editor to article creation.
This commit is contained in:
@@ -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