Browse Source

updates

pull/866/head
Shikha 7 years ago
committed by GitHub
parent
commit
d3ac6a5227
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      migration-from-4x.md

8
migration-from-4x.md

@ -16,9 +16,9 @@ This chapter describes the migration process and workarounds for customers using
### Initialization
The initialization process of TinyMCE 5.0 is the same as TinyMCE 4.x. The bootstrap process and initialization events all remain the same. It still retains a familiar JSON structure. Some `init` configuration in the TinyMCE version 5.0 has been updated to simplify the configuration options, specifically the configuration items for [UI components]({{site.baseurl}}/ui-components/). Please see the [Quick Start]({{site.baseurl}}/quick-start) section for more information on setup.
The initialization process of TinyMCE 5.0 is the same as TinyMCE 4.x. The bootstrap process and initialization events all remain the same. It still retains a familiar JSON structure. Some `init` configuration in the TinyMCE version 5.0 has been updated to simplify the configuration options, specifically the configuration items for [UI components]({{site.baseurl}}/ui-components/). Please see the [Quick start]({{site.baseurl}}/quick-start) section for more information on setup.
These changes may impact integrations depending upon the level of customization. Refer the table below for a general guide for understanding the impact on a specific integration scenario:
These changes may impact integrations depending upon the level of customization. Refer to the table below for a general guide for understanding the impact on a specific integration scenario:
| Customization Level | Description | Impact |
| ------------------- | ----------- | ------ |
@ -105,7 +105,7 @@ This will provide a similar but improved [distraction-free]({{site.baseurl}}/gen
The Modern theme is no longer supported in TinyMCE 5.0. The modern theme's UI library [`tinymce.ui.*`](https://www.tiny.cloud/docs/api/tinymce.ui/) has also been deleted. This change may impact integrations depending upon the [level of customization]({{site.baseurl}}/migration-from-4x/#initialization).
> Note: For support related issues such as problems while migrating and a workaround, please contact [support](https://support.tiny.cloud/hc/en-us/requests/new). Alternatively, track developer preview issues on GitHub, [here](https://github.com/tinymce/tinymce/labels/dev%20preview).
> Note: For support related issues such as problems while migrating and a workaround, please contact [support](https://support.tiny.cloud/hc/en-us/requests/new). Alternatively, track developer preview issues on GitHub, [here](https://github.com/tinymce/tinymce/labels/5.x).
### Events
@ -331,7 +331,7 @@ Docs are coming soon! -->
### Custom context toolbars
The Context Toolbar accepts toolbar buttons that were previously added to the editor using the editor's `addButton`, `addToggleButton`, `addSplitButton` or a`ddMenuButton` functions. The method for creating custom context toolbars in TinyMCE 5.0 has also been changed from `editor.addContextToolbar()`` to `editor.ui.registry.addContextToolbar()`.
The Context Toolbar accepts toolbar buttons that were previously added to the editor using the editor's `addButton`, `addToggleButton`, `addSplitButton` or a`ddMenuButton` functions. The method for creating custom context toolbars in TinyMCE 5.0 has also been changed from `editor.addContextToolbar()` to `editor.ui.registry.addContextToolbar()`.
For more information on Context Toolbars, see [docs]({{site.baseurl}}/ui-components/contexttoolbar).

Loading…
Cancel
Save