@wawjs/ngx-tinymce
v21.3.2
Published
`ngx-tinymce` is the extracted TinyMCE feature package from the Web Art Work Angular workspace.
Downloads
191
Maintainers
Readme
ngx-tinymce
ngx-tinymce is the extracted TinyMCE feature package from the Web Art Work Angular workspace.
Install
npm i --save ngx-tinymceBootstrap
import { provideNgxTinymce } from '@wawjs/ngx-tinymce';
export const appConfig = {
providers: [
provideNgxTinymce({
baseURL: '/assets/tinymce/',
fileName: 'tinymce.min.js',
config: {
menubar: false,
plugins: 'lists link code table',
toolbar: 'undo redo | bold italic | bullist numlist | code',
},
}),
],
};Exports
TinymceComponentfor form-friendly editor embeddingprovideNgxTinymce()andprovideTinymce()for app-level defaultsTINYMCE_CONFIGandTinymceConfigfor advanced configuration access- editor instance and option interfaces for typed integrations
Notes
- The component is SSR-safe and only touches the TinyMCE global in the browser.
- TinyMCE script loading is lazy; configure
baseURLandfileNameto match where you host the editor assets. - Per-instance
configinput merges over the defaults registered withprovideNgxTinymce().
