Open nugrohoaaldi opened 1 year ago
const data = `<body style="margin: 0 !important;"> <img style=" border-radius: 18px !important; width: 100% !important; " src="https://media.istockphoto.com/id/490673902/photo/roundabout-hi-jakarta-landmark-at-night.jpg?s=612x612&w=0&k=20&c=bv93EvZ7xJSCxfPXFbHKW_3VMi3lPmMB4Yym8fh_bfE=" alt="img"> <div style="display: flex !important; flex-direction: row !important; justify-content: space-between !important;"> <div>10 hari lalu</div> <div>24 shares</div> </div> </body>`
this how i use it
<QuillEditor ref={_editor} initialHtml={data} onEditorChange={() => _editor.current?.enable(false)} onFocus={() => _editor.current?.enable(false)} onBlur={() => _editor.current?.enable(false)} />
this how i use it