feat(react/settings): port code block settings

This commit is contained in:
Elian Doran
2025-08-18 11:21:09 +03:00
parent 3ba0bcea4e
commit 234d3997b1
5 changed files with 146 additions and 169 deletions

View File

@@ -24,7 +24,7 @@ function getProps({ className, html, style }: RawHtmlProps) {
}
}
function getHtml(html: string | HTMLElement | JQuery<HTMLElement>) {
export function getHtml(html: string | HTMLElement | JQuery<HTMLElement>) {
if (typeof html === "object" && "length" in html) {
html = html[0];
}