rich-text-editor/src/link-management/link-management.service.ts
Result of saving a selection for link operations. Contains all information needed to insert or edit a link.
Properties |
| editingLink |
editingLink:
|
Type : HTMLAnchorElement | null
|
|
The anchor element being edited, or null if inserting a new link |
| linkText |
linkText:
|
Type : string
|
|
The display text of the link (selected text or existing link text) |
| linkUrl |
linkUrl:
|
Type : string
|
|
The URL of the link (existing or empty for new links) |
| savedRange |
savedRange:
|
Type : Range | null
|
|
The saved selection range, or null if no valid selection |