You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive that error in webpack running
TS2345: Argument of type '{ selector: string; entity_encoding: string; language: string; language_url: string; mentions: { source: { name: string; }[]; }; menubar: false; statusbar: false; branding: false; plugins: string[]; external_plugins: { ...; }; toolbar: string; content_css: string; }' is not assignable to parameter of type 'Settings'.Object literal may only specify known properties, and 'mentions' does not exist in type 'Settings'.
The text was updated successfully, but these errors were encountered:
Hi Steven,
May I ask you if you can provide me with a demo on how I can use the tinyMCE-mention in TS file.That is a simple of my code :
import * as tinymce from 'tinymce';
import { getMainLayoutUrl } from '../getMainLayout';
var mentions = require('tinymce-mention');
export function loadCommentEditor(selector: string) {
let mainCss = getMainLayoutUrl();
I receive that error in webpack running
TS2345: Argument of type '{ selector: string; entity_encoding: string; language: string; language_url: string; mentions: { source: { name: string; }[]; }; menubar: false; statusbar: false; branding: false; plugins: string[]; external_plugins: { ...; }; toolbar: string; content_css: string; }' is not assignable to parameter of type 'Settings'.Object literal may only specify known properties, and 'mentions' does not exist in type 'Settings'.
The text was updated successfully, but these errors were encountered: