![]() The method addJavascript("path/to/file.js") should be used for this.Adds any javascript files required by the editor to be output to the page.Returns the directory where the editors library.Used by the xinha and ckeditor adapters to load the config and populate the directory, getData and setData properties._construct(\Jadu_Service_Container $jadu) Your new adapter will need to implement UI\Editor\AdapterInterface.Ī list of the required methods and their purpose is below: One of these migrations updates the main db and the other updates any existing galaxies databases. There are already 2 migrations in the Jadu Core code base that can be copied and modify for your editor. Not only will the Jadu CMS database need updating but any Galaxies site database will also need updating. The best way to do this is via a database migration as this allows any changes to be easily reverted if needed. If your editor comes with new functionality and buttons then these will need to be added into the database. For extra clarity it could be placed in a editors sub directory. Jadu recommend adding the new editors code library to the public_html/jadu/custom directory as this will prevent issues during patches. The sections below will guide you through how to add a new editor. Jadu CMS has support for different text editors through the use of a driver/adapter architecture. MariaDB and PHP 7.4 Upgrade Guidance Note ![]() Windows Server 2019 Upgrade Guidance Note SameSite cookie configuration changes - April 2020Īdding new dictionary to the spellchecker ![]() Galaxies site specific points of extension Example: Applying a migration to a specific Galaxies Site
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |