NEWCKEditor AI is here!
Sign up (with export icon)

AIContextTextResource

Api-typedef icontypedef

A text resource that can be used as a context item. For instance:

{
	content: '<h2>HTML note</h2><p>Lorem ipsum dolor sit amet...</p>',
	type: 'html'
}
Copy code

Properties

  • Chevron-right icon

    content : string

    The content of the text resource.

  • Chevron-right icon

    type : AIContextTextResourceType

    The type of the text resource.