@witchcraft/editor
Github
Issues
npm
Preparing search index...
pm/features/Iframe/IframeParsers
IframeSourceParser
Interface IframeSourceParser
interface
IframeSourceParser
{
cleanUrl
:
(
url
:
string
)
=>
string
;
defaultAttributes
:
DefaultAttributes
;
defaultQueryParams
:
Record
<
string
,
any
>
;
matchUrl
?:
RegExp
;
parseAttributes
:
(
element
:
HTMLElement
)
=>
false
|
Record
<
string
,
any
>
;
}
Implemented by
DefaultSourceParser
InstagramSourceParser
VimeoSourceParser
YoutubeSourceParser
Index
Properties
clean
Url
default
Attributes
default
Query
Params
match
Url?
parse
Attributes
Properties
clean
Url
cleanUrl
:
(
url
:
string
)
=>
string
default
Attributes
defaultAttributes
:
DefaultAttributes
default
Query
Params
defaultQueryParams
:
Record
<
string
,
any
>
Optional
match
Url
matchUrl
?:
RegExp
parse
Attributes
parseAttributes
:
(
element
:
HTMLElement
)
=>
false
|
Record
<
string
,
any
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
clean
Url
default
Attributes
default
Query
Params
match
Url
parse
Attributes
Github
Issues
npm
@witchcraft/editor
Loading...