fix for pdf formatting and hyperlinks

This commit is contained in:
2026-03-09 13:11:28 +00:00
parent 95c1492fe0
commit 96e180040d
4 changed files with 241 additions and 221 deletions
+7
View File
@@ -479,6 +479,12 @@ export const RenderRichMultiline = ({
input.onChange(valStr);
};
const handleBlur = () => {
const updated = updateLinks(editValue);
setEditValue(updated);
input.onChange(updated);
};
var modules = {
toolbar: [
[{ "header": [1, 2, false] }],
@@ -513,6 +519,7 @@ export const RenderRichMultiline = ({
theme="snow"
value={editValue}
onChange={changeEdit}
onBlur={handleBlur}
/>
<textarea
{...input}