@witchcraft/editor
Github
Issues
npm
Preparing search index...
pm/features/FileInsert/plugins/placeholderPlugin
findPlaceholder
Function findPlaceholder
findPlaceholder
(
state
:
EditorState
,
id
:
string
)
:
number
|
undefined
Find the current position of a placeholder by id. Returns undefined if not found.
Parameters
state
:
EditorState
id
:
string
Returns
number
|
undefined
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/editor
Loading...
Find the current position of a placeholder by id. Returns undefined if not found.