Skip to content

How to make text mode #166

@ina6ra

Description

@ina6ra

I would like to enter text mode instead of visual-editor.
I tried the following method, but I could not enable text mode.

add_filter('tailor_editor_settings', function($editor_settings) {
  $editor_settings['teeny'] = true;
  $editor_settings['tinymce'] = false;
  return $editor_settings;
});
add_filter('wp_default_editor', function() {
  return 'html';
});

The wordpress version is 4.9.6,
And the theme used is Twenty Seventeen.

How do I enable text mode?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions