I want to use TinyMCE rich text editor in one of our project.
We are using angular warpper of TinyMCE.
We will host the tinymce.min.js in our servers (not tinymce cloud). Exact steps mentioned at end for reference.
Question is, as per the licensing do I need to show the branding "Powered by Tiny"? Like this
Asking because it mentions that if you are using tiny cloud you must mention branding but I could not understand about self hosting.
Another thing to mention is since it will be self hosted, we are not modifying the any of the tinymce's files, all the files will be delivered to browser using HTTPS call like https://example.com/tinymce/tinymce.min.js along with license comments. (we are not including tinyMCE's JS files in our build process and hence not minifying and not obfuscating its js files)
// installing
npm install --save @tinymce/tinymce-angular
npm install --save tinymce
// config
"assets": [
{ "glob": "**/*", "input": "node_modules/tinymce", "output": "/tinymce/" }
]
// in module
import { EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';
/* ... */
@NgModule({
/* ... */
imports: [
EditorModule
],
providers: [
{ provide: TINYMCE_SCRIPT_SRC, useValue: 'tinymce/tinymce.min.js' }
]
})
// in html
<editor [init]={ branding: true/false, /* your other settings */ } ></editor> // no apiKey="your-api-key"
// no other steps
npm install --save tinymce
it will go to this npmjs.com/package/tinymce and download from npm registry.