Closed sh-shoaib closed 10 months ago
Ref: INT-3208
The selector prop isn't used or needed for tinymce-react. See: https://www.tiny.cloud/docs/tinymce/6/react-ref/#init
When using tinymce-react:
- The init prop does not require the selector or target options
- If the selector, target, or readonly options are set using the init prop, they will be overridden by the integration.
We've intentionally omitted the selector
and target
props from RawEditorSettings
because of this.
When passing the value of the 'selector' attribute as
div#${id}
then it is throwing an error.Error: Type 'string' is not assignable to type 'never'
As the
selector
attribute type is defined asnever
.