• Lobster01

    (@lobster01)


    So I find two topics about the same issue. But one is just about the table background color and the other… well… that guy has a fix but charges 100 dollars for the fix. Idiot, sorry for my language ??

    Well the issues are simple to explain.
    1. the color picker does not work. When you want to change a color to a custom color, you can use the beautiful color picker. Which gives you a couple of predefined colors and the option to get a custom color.
    The predefined colors work fine! But the custom color picker does not. Where ever you get that box where you can pick a custom color, you can move the little round pointer and click the spot you want. But the color HEX code is somehow fixed to black (#000000). You are able to fill in a code but that’s not really the point of that tool. Maybe it’s something in the code of the plugin? I don’t know.

    2. The positioning of the dropdown boxes. Like if you want to make a header 1 (h1) text you can choose that option in a select dropdown box. If I have the page scrolled up to the top, the box appears where it should, right under the menu option in the editor.

    If I scroll the page down and want to change some text to H1, the editor is above the textarea but that dropdown box is at the bottom of the screen. Perhaps something to do with positioning of these boxes?

    I will check with other plugins that I use. But this did not happen before and I use tinyMCE Advanced for a couple of years now.

    Maybe it helps to say that it happens on 3 sites I have (all different wp installs) All wp are version 4.0.
    Firefox is my standard browser but I tested also with IE and Chrome.

    Is there a solution to this problem? Any tips or idea’s? Thanks.

    https://www.ads-software.com/plugins/tinymce-advanced/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    Thanks for the detailed explanation.

    1. Are you using the TinyMCE Color Picker WP plugin https://www.ads-software.com/plugins/tinymce-colorpicker/ or the built-in TinyMCE color picker?

    Both seem to be working properly here. Not setting the new color value may be throwing JS errors in the console, can you check there?

    2. This sounds like a CSS problem. Can you right-click => Inspect element on these dorp-downs and see if the position is overridden from a CSS file. Alternatively try to temporarily disable plugins that add CSS to the Edit Post screen, and delete the browser cache before testing.

    Thread Starter Lobster01

    (@lobster01)

    Thanks for the reply.

    I don’t use that plugin, only the built in color picker. I will check for the JS errors. I’m not familiar with JS tho haha.

    2 I was already checking the plugins, not completely done yet. Thought the same thing about the overwritten css property. But I couldn’t find a problem, except that all the position property’s are overwritten or disabled. Not clear if that’s normal or that it is another plugin.

    This is what I found on the CSS position property’s:
    (bold text had a line through it)
    Dropdown box (paragraph) id: MCEU_72 ->
    <div id="mceu_72" class="mce-container mce-panel mce-floatpanel mce-menu mce-menu-align" role="application" tabindex="-1" hidefocus="1" style="border-with: 1px; z-index: 100100; left: 410px; top: 1252px; width: 225px;">

    .mce-menu {
        position: absolute;
        <strong>left: 0px;
        top: 0px;</strong>
        padding: 5px 0px;
        margin: 2px 0px 0px;
        min-width: 160px;
        <strong>background: none repeat scroll 0% 0% #FFF;
        border: 1px solid rgba(0, 0, 0, 0.2);
        z-index: 1002;
        border-radius: 6px;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);</strong>
        max-height: 400px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .mce-floatpanel {
        <strong>position: absolute;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);</strong>
    }
    .mce-container, .mce-container *, .mce-widget, .mce-widget *, .mce-reset {
        <strong>margin: 0px;
        padding: 0px;
        border: 0px none;</strong>
        outline: 0px none;
        vertical-align: top;
        <strong>background: none repeat scroll 0% 0% transparent;</strong>
        text-decoration: none;
        <strong>color: #333;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;</strong>
        font-size: 14px;
        text-shadow: none;
        float: none;
        <strong>position: static;
        width: auto;</strong>
        height: auto;
        white-space: nowrap;
        cursor: inherit;
        line-height: normal;
        font-weight: normal;
        text-align: left;
        box-sizing: content-box;
        direction: ltr;
        max-width: none;
    }
    Thread Starter Lobster01

    (@lobster01)

    I see that the bold option doesn’t work in the code section ghehe. Sorry for that. Should have known that.

    Anyway, I found this in the console while checking for js errors:
    POST https://devrught.com/devrught/wp-admin/admin-ajax.php
    TypeError: l is undefined

    The error occurred when I left the R box empty, so think that’s normal.

    This is what i get if I click on the post message:

    Aanvraag-URL: https://devrught.com/devrught/wp-admin/admin-ajax.php
    Aanvraagmethode: POST
    Statuscode: HTTP/1.1 200 OK
    Aanvraagheaders 12:15:56.000
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
    Referer: https://devrught.com/devrught/wp-admin/post-new.php?post_type=page
    Pragma: no-cache
    Host: devrught.com
    DNT: 1
    Content-Type: application/x-www-form-urlencoded; charset=UTF-8
    Content-Length: 126
    Connection: keep-alive
    Cache-Control: no-cache
    Accept-Language: nl,en-US;q=0.7,en;q=0.3
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/javascript, */*; q=0.01
    Verzonden cookie
    wpfront-notification-bar-landingpage: 1
    wp-settings-time-14: 1415810762
    wp-settings-time-1: 1415820780
    wp-settings-1: wplink=1&libraryContent=browse&imgsize=medium&mfold=o&align=right&urlbutton=none&editor=tinymce&ed_size=598&hidetb=1&advImgDetails=hide
    wordpress_logged_in_ea422dda07ba07a2dcd2696de330afc8: beheerderlobster|1417020845|BzBjLC4nHHLFmG8F3HOHvRB8GHMN96GVOsT4NLkQg0D|7de208f38e750e5873f1091835ef3509c84231bc3feabde0002908196479f20b
    wordpress_ea422dda07ba07a2dcd2696de330afc8: beheerderlobster|1417020845|BzBjLC4nHHLFmG8F3HOHvRB8GHMN96GVOsT4NLkQg0D|d7b36cbd77c7e355d0745d93cdd96b69cfb724742ae28e8f24e20a4f3d7666f8
    wfvt_2973349588: 5469d8d9b7884
    viewed_cookie_policy: yes
    TPBmenuScrollTop: 0
    PHPSESSID: 6578a5d6787afb533f5e636a3f7f1743
    bp-activity-oldestpage: 1
    _ga: GA1.2.2031134947.1412672205
    Antwoordheaders Δ1335ms
    X-Robots-Tag: noindex
    X-Powered-By: PHP/5.4.32
    X-Frame-Options: SAMEORIGIN
    X-Content-Type-Options: nosniff
    Transfer-Encoding: chunked
    Server: Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
    Pragma: no-cache
    Keep-Alive: timeout=5, max=100
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Date: Mon, 17 Nov 2014 11:15:55 GMT
    Content-Type: application/json; charset=UTF-8
    Connection: Keep-Alive
    Cache-Control: no-cache, must-revalidate, max-age=0

    Plugin Author Andrew Ozz

    (@azaozz)

    The error occurred when I left the R box empty, so think that’s normal.

    No JS error is “normal”, also not sure what the R box is ??

    The color picker will be upgraded together with the rest of the plugin in few days, when WordPress 4.1 comes out. Hoping that will fix your problem.

    Thread Starter Lobster01

    (@lobster01)

    Thanks for the update.
    What I mean with the R box is the input box R of the RGB color code.

    But I will wait for the update and till than I’m gonna do it the old fashion way, filling in color codes myself ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Some issues (color picker & box position)’ is closed to new replies.