paste
ai-research-agent / editor/modules/paste
Functions
paste()
function paste(editor, options?): object
Parameters
Parameter | Type |
---|---|
| |
|
Returns
object
Name | Type |
---|---|
commands | { paste : (__namedParameters ) => void ; } |
destroy() | |
init() |
Classes
PasteEvent
Extends
Event
Constructors
new PasteEvent()
new PasteEvent(type, init): PasteEvent
Parameters
Parameter | Type |
---|---|
|
|
|
Returns
Overrides
Event.constructor
Properties
delta
delta: default;
html?
optional html: string;
text?
optional text: string;
Interfaces
PasteEventInit
Extends
EventInit
Properties
delta
delta: default;
html?
optional html: string;
text?
optional text: string;
PasteModuleOptions
Properties
allowHTMLPaste?
optional allowHTMLPaste: boolean;
htmlParser()?
optional htmlParser: (editor, html) => default;
Parameters
Parameter | Type |
---|---|
| |
|
|
Returns
PasteOptions
Properties
html?
optional html: string;
selection?
optional selection: null | EditorRange;
text?
optional text: string;