mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
fix(editor): Set dangerouslyUseHTMLString in composable (#12280)
This commit is contained in:
committed by
GitHub
parent
388a83dfbd
commit
6ba91b5e1e
@@ -26,6 +26,7 @@ export function useMessage() {
|
|||||||
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||||
cancelButtonClass: 'btn--cancel',
|
cancelButtonClass: 'btn--cancel',
|
||||||
confirmButtonClass: 'btn--confirm',
|
confirmButtonClass: 'btn--confirm',
|
||||||
|
dangerouslyUseHTMLString: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof configOrTitle === 'string') {
|
if (typeof configOrTitle === 'string') {
|
||||||
@@ -49,6 +50,7 @@ export function useMessage() {
|
|||||||
distinguishCancelAndClose: true,
|
distinguishCancelAndClose: true,
|
||||||
showClose: config?.showClose ?? false,
|
showClose: config?.showClose ?? false,
|
||||||
closeOnClickModal: false,
|
closeOnClickModal: false,
|
||||||
|
dangerouslyUseHTMLString: true,
|
||||||
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -74,6 +76,7 @@ export function useMessage() {
|
|||||||
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||||
cancelButtonClass: 'btn--cancel',
|
cancelButtonClass: 'btn--cancel',
|
||||||
confirmButtonClass: 'btn--confirm',
|
confirmButtonClass: 'btn--confirm',
|
||||||
|
dangerouslyUseHTMLString: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof configOrTitle === 'string') {
|
if (typeof configOrTitle === 'string') {
|
||||||
|
|||||||
Reference in New Issue
Block a user