Optional
createAttributes: CanUndef<IDictionary<Attributes | NodeFunction>>Optional
Readonly
createReadonly
documentOptional
className: stringOptional
children: ChildrenOptional
className: stringOptional
childrenOrAttributes: AttributesOptional
children: ChildrenOptional
className: stringOptional
childrenOrAttributes: ChildrenOptional
className: stringOptional
childrenOrAttributes: AttributesOptional
children: ChildrenOptional
children: ChildrenOptional
attributes: AttributesOptional
children: ChildrenCreate HTML Document fragment element
Create DOM element from HTML text
Optional
refsToggleElement: IDictionary<boolean | void>State dictionary in which you can set the visibility of some of the elements
const editor = Jodit.make('#editor');
editor.createInside.fromHTML(`<div>
<input name="name" ref="name"/>
<input name="email" ref="email"/>
</div>`, {
name: true,
email: false
});
Optional
className: stringOptional
childrenOrAttributes: ChildrenOptional
className: stringOptional
childrenOrAttributes: AttributesOptional
children: ChildrenIf you like Jodit - try Jodit PRO
Apply to element
createAttributes
options