This package installs a self-contained rich content editor on an AseqBase website. It does not modify files under the framework base or aseq directories.
- Visual WYSIWYG editing without exposing Markdown markers
- Font family and font size selectors
- Persian and Latin bundled fonts
- Bold, italic, underline, strike-through, headings, alignment, justification, and RTL/LTR controls
- Bullet, numbered, and checklist styles
- Links, safe buttons, resizable images, tables, horizontal rules, block quotes, and colored callouts
- Find and replace inside the editor
- Full-content administration search with Persian/Arabic character normalization
- Server-side HTML sanitization before content is stored
- English source strings with AseqBase translation support
- PHP 8.2 or later
- PHP DOM extension
- AseqBase package installer or write access to the website sequence directory
Install this repository as an AseqBase package into the website sequence directory (for example, pasenv). The package folders are merged into that sequence by the AseqBase installer. No framework file replacement is required.
For manual installation, copy these package directories to the matching directories of the target sequence:
assetinitializemodelroute
Import -bootstrap/tinymce-en-fa.csv through the AseqBase translation importer. The XLSX file contains the same two-column lexicon for review and editing.
After installation, open /administrator/content/contents. The initializer registers the module route ahead of the generic administrator route only for this URL.
The package bundles TinyMCE Community 8.9.0 under GPL-2.0-or-later. This integration package is licensed under GPL-3.0-only. Submitted content is sanitized on the server; unsafe elements, event handlers, URL schemes, and styles are removed.
Replace only asset/struct/tinymce with a tested official tinymce-dist release, preserving the custom asset/struct/tinymce/pas directory. Update TinyMCEVersion in model/plugin/TinyMCE.php and -bootstrap/manifest.json, then repeat the targeted checks documented in CHANGED_FILES.md.