RTNode

An object representing a fragment of text in the rich text editor.

A rich text node contains the actual text as well as the styling applied to that text, referred to as 'marks'.

PropertyTypeDescription
text*stringThe actual text content.
boldbooleanWhether the text is bolded.
italicbooleanWhether the text is italisized.
strikethroughbooleanWhether the text is struck through.
underlinebooleanWhether the text is underlined.
codebooleanWhether the text is code style.
colorContentColorThe text color.
backgroundColorContentColorThe text's background color.