@wawjs/ngx-tinymce
v22.0.2
Published
Angular TinyMCE editor integration package from Web Art Work.
Downloads
318
Maintainers
Readme
@wawjs/ngx-tinymce
ngx-tinymce is the extracted TinyMCE feature package from the Web Art Work Angular workspace.
Install
npm i --save @wawjs/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().
AI Coding Agents
This package includes AI.md with copyable instructions for Codex, Claude Code, Cursor, and other coding agents.
Copy this into the consuming project's AGENTS.md, CLAUDE.md, or equivalent file:
- This Angular project uses `@wawjs/ngx-tinymce` for TinyMCE editor integration.
- Import public APIs from `@wawjs/ngx-tinymce`.
- Prefer `provideNgxTinymce({...})` for editor defaults.
- Prefer `TinymceComponent` before adding another TinyMCE wrapper.
- Configure TinyMCE asset loading with `baseURL` and `fileName`.
- Keep browser-only editor behavior SSR-safe.