Rich Text Editor: Conversion from ASPX to HTML and TypeScript
The information in the following tables will help you to convert the ASPX elements that are related to a rich text editor to HTML or TypeScript elements.
AutoSize
The following table shows the correspondence between the AutoSize element and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
ASPX | HTML or TypeScript |
---|---|
AutoSize
|
Use the properties in the config attribute of the
qp-rich-text-editor
control.
|
Enabled
|
Use the expandToContent property in the
config attribute of the qp-rich-text-editor
control.
|
MinHeight
|
Use the expandToContentMinHeight property in the
config attribute of the qp-rich-text-editor
control.
|
PXRichTextEdit
The following table shows the correspondence between the PXRichTextEdit element and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
ASPX | HTML or TypeScript |
---|---|
PXRichTextEdit
|
Use the qp-rich-text-editor tag in
HTML.
|
ID
|
Use the id attribute of the
qp-rich-text-editor tag in
HTML.
|
DataField
|
Use the state attribute of the
qp-rich-text-editor tag in
HTML.
|
Obsolete ASPX Controls and Properties
The following table lists the obsolete ASPX elements that are related to rich text editors. You do not need to replace these ASPX elements with any HTML or TypeScript elements.
ASPX Control | Properties |
---|---|
PXRichTextEdit |
|