Files
tinymce-docs-4x/themes/mobile.md
T
2018-08-03 16:05:22 +10:00

831 B

layout, title, title_nav, description, keywords
layout title title_nav description keywords
default Mobile theme Mobile Theme that renders a mobile-ready user interface. theme mobile

The mobile theme is responsible for rendering the editor on mobile devices and gives you a [mobile first experience]({{ site.baseurl }}/mobile).

Example:

We recommend that you use a [mobile section]({{ site.baseurl }}/configure/editor-appearance/#mobile) in the config to load this mobile specific theme but it can be used directly as well.

tinymce.init({
  selector: 'textarea',
  theme: 'modern',
  mobile: {
    theme: 'mobile',
    plugins: [ 'autosave', 'lists', 'autolink' ]
  }
});
  • [mobile]({{ site.baseurl }}/configure/editor-appearance/#mobile)
  • [toolbar]({{ site.baseurl }}/configure/editor-appearance/#toolbar)