• Resolved MrBW

    (@mrbw)


    My real goal is to disable word-wrap in the admin editor.

    So I was thinking about adding the style “white-space:nowrap” to the style class “.wp-editor-container textarea.wp-editor-area” in the file “wp-includes/css/editor.min.css“. But I don’t like to make changes to the file directly.
    Tried to use my child them, either by copy the file or adding the class-style to the style.css file….it didn’t work ??

    So my questions are:
    -Should I disable word-wrap in another way?
    -How can I make style changes to the “wp-editor-container textarea.wp-editor-area”
    ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Disable it within the admin editor or disable it on your Webpage? If you have a problem on the front-end of your website, then it’ll need to be resolved via your Child Theme style.css file. I’m not sure what you mean to style just the TinyMCE editor itself, why would you want to do that?

    Thread Starter MrBW

    (@mrbw)

    I want my HTML code to look clean in the editor (in “text” mode…I did disable WPautop). I don’t want my long lines to be wrapped.
    You write to disable it within the admin editor, how? if not changing the style for the editor class.
    And yes, I’m only talking about backend.
    Another way to ask, how do I make a “child” config of the backend, so I don’t have to edit the WP css files directly?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Thread Starter MrBW

    (@mrbw)

    Wau…..I guess I should have looked that up myself ??
    THAAAANK ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Include "editor.min.css" in my child theme’ is closed to new replies.