Flarum (2.x)
Preparing search index...
@flarum/mentions
forum/utils/selectedText
selectedRange
Function selectedRange
selectedRange
(
body
:
any
)
:
Range
|
null
Finds the part of the selection in the provided post body, or null when there is none to quote.
Parameters
body
:
any
Returns
Range
|
null
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Flarum (2.x)
Loading...
Finds the part of the selection in the provided post body, or null when there is none to quote.