mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +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 : {})),
|
||||
cancelButtonClass: 'btn--cancel',
|
||||
confirmButtonClass: 'btn--confirm',
|
||||
dangerouslyUseHTMLString: true,
|
||||
};
|
||||
|
||||
if (typeof configOrTitle === 'string') {
|
||||
@@ -49,6 +50,7 @@ export function useMessage() {
|
||||
distinguishCancelAndClose: true,
|
||||
showClose: config?.showClose ?? false,
|
||||
closeOnClickModal: false,
|
||||
dangerouslyUseHTMLString: true,
|
||||
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||
};
|
||||
|
||||
@@ -74,6 +76,7 @@ export function useMessage() {
|
||||
...(config ?? (typeof configOrTitle === 'object' ? configOrTitle : {})),
|
||||
cancelButtonClass: 'btn--cancel',
|
||||
confirmButtonClass: 'btn--confirm',
|
||||
dangerouslyUseHTMLString: true,
|
||||
};
|
||||
|
||||
if (typeof configOrTitle === 'string') {
|
||||
|
||||
Reference in New Issue
Block a user