Pathfinder 1e for Foundry VTT
Repository
Preparing search index...
pf1
applications
HTMLEditor
Class HTMLEditor
HTML Editor
Generic HTML text editor.
Hierarchy
DocumentSheetV2
HTMLEditor
Index
Constructors
constructor
Properties
DEFAULT_
OPTIONS
Accessors
promise
Methods
_
can
Render
_
initialize
Application
Options
_
on
Close
_
prepare
Context
_
process
Submit
Data
_
render
HTML
_
replace
HTML
wait
Constructors
constructor
new
HTMLEditor
(
options
?:
{}
)
:
HTMLEditor
Parameters
Optional
options
:
{}
Returns
HTMLEditor
Properties
Static
DEFAULT_
OPTIONS
DEFAULT_OPTIONS
:
{
classes
:
string
[]
;
form
:
{
closeOnSubmit
:
boolean
;
submitOnChange
:
boolean
}
;
id
:
string
;
position
:
{
height
:
number
;
width
:
number
}
;
sheetConfig
:
boolean
;
tag
:
string
;
window
:
{
icon
:
string
;
minimizable
:
boolean
;
resizable
:
boolean
}
;
}
= ...
Accessors
promise
get
promise
()
:
Promise
<
any
>
Returns
Promise
<
any
>
Methods
_
can
Render
_canRender
(
options
:
any
)
:
undefined
|
false
Parameters
options
:
any
Returns
undefined
|
false
_
initialize
Application
Options
_initializeApplicationOptions
(
options
:
any
)
:
any
Parameters
options
:
any
Returns
any
_
on
Close
_onClose
(
options
:
any
)
:
void
Parameters
options
:
any
Returns
void
_
prepare
Context
_prepareContext
()
:
{
content
:
unknown
;
editable
:
boolean
;
path
:
any
}
Returns
{
content
:
unknown
;
editable
:
boolean
;
path
:
any
}
_
process
Submit
Data
_processSubmitData
(
event
:
any
,
form
:
any
,
submitData
:
any
)
:
void
Parameters
event
:
any
form
:
any
submitData
:
any
Returns
void
_
render
HTML
_renderHTML
(
context
:
any
,
_options
:
any
)
:
Promise
<
HTMLElement
|
HTMLCollection
>
Parameters
context
:
any
_options
:
any
Returns
Promise
<
HTMLElement
|
HTMLCollection
>
_
replace
HTML
_replaceHTML
(
result
:
any
,
content
:
any
,
_options
:
any
)
:
void
Parameters
result
:
any
content
:
any
_options
:
any
Returns
void
Static
wait
wait
(
options
?:
Document
<
any
,
any
,
null
>
)
:
Promise
<
string
|
void
>
Wait for edit
Parameters
options
:
Document
<
any
,
any
,
null
>
= {}
Options
document
path
Path to the value
Returns
Promise
<
string
|
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
DEFAULT_
OPTIONS
Accessors
promise
Methods
_
can
Render
_
initialize
Application
Options
_
on
Close
_
prepare
Context
_
process
Submit
Data
_
render
HTML
_
replace
HTML
wait
Repository
Repository
Pathfinder 1e for Foundry VTT
Loading...
HTML Editor
Generic HTML text editor.