mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(editor): Set dangerouslyUseHTMLString in composable (#12280)
This commit is contained in:
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') {
|
||||||
|
|
Loading…
Reference in a new issue