Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I found a solution that worked for my environment. The problem was in the uploads directory in the Settings->Media. It needed to be changed manually to the right path.

    stevegibson12

    (@stevegibson12)

    @dccharron thanks for finding the fix. This is going to really throw off less technical users.

    Thread Starter stevegibson12

    (@stevegibson12)

    OK, thanks for the tips. Maybe I’ll poke around the code too. For now I can work around it by just deleting any unwanted CRs.

    I just did a quick test on a number of different applications. Surprisingly, it’s around 50-50 for the ones I tested. I didn’t submit these since how the system processes it isn’t really the issue. I just want two spaces to equal two spaces when I’m entering text regardless of where in the text entry field I am. Looks like an obscure use case that I alone care about though.

    Places it adds and extra CR/NL when you’re only typing spaces
    Wordpress Editor in Text mode
    Wordpress Custom HTML Field
    Wordpress Support forum field, bbPress
    Facebook Post Status
    Google Plus Post Status

    Places two spaces = two spaces
    Wordpress Editor in Visual mode
    Gmail
    Yahoo Mail
    Twitter Tweet Field
    LinkedIn Status Update
    Google docs
    TextEdit (on Mac)

    I’ll update this if I get the chance to check into it further and find anything interesting. My guess is most people aren’t reinventing the wheel when implementing editors and this weird bug is passed from one to the next.

    Thread Starter stevegibson12

    (@stevegibson12)

    I don’t know what it’s related to. Maybe the word break rule you reference is affecting how the CR gets in there. Once it’s there WP later converts it to a break. If the editor doesn’t magically create that carriage return when I’m only typing spaces, everything would work as I think it’s supposed to be.

    Separately, it was news to me that Text edit mode is not strictly an HTML field. What I’m sure some people would value is the ability to view just the HTML, similar to the Custom HTML widget. Otherwise you never fully have control over your pages, which sometimes you need.

    Thread Starter stevegibson12

    (@stevegibson12)

    Thanks for the link. I converted the video to gif and took a screenshot of the source.

    View post on imgur.com

    There’s an unexpected <br> in between the 6 and 7. I only pressed space between those two, but when you do so at the end up the text entry line it adds it.

    I’d been noticing this for a while since it was goofing up my frontend appearance.

    I have the same issue, but only on a local install for development. Works fine on my main server. Another plugin can’t access the uploads folder either, despite the folder permissions being set correctly. I think there’s a setting somewhere that needs to be adjusted. wp-config.php, .htaccess, or php.ini are my guesses. When I installed it it gave me a warning about the uploads folder and I think told me what needed to be updated. But I ignored it and deleted all the log files. If/when I do another local install and figure out what it is, I’ll try to remember to update this thread.

    Thread Starter stevegibson12

    (@stevegibson12)

    Here’s one way to fix it. Update the regex for “color” to include A-Z and A-F, respectively. Inside search-everything/options.php.

    function se_validation($validation_rules) {
    $regex = array(
    “color” => “^(([a-zA-Z]+)|(#[0-9a-fA-F]{2,6}))?$”,
    “numeric-comma” => “^(\d+(, ?\d+)*)?$”,
    “css” => “^(([a-zA-Z-])+\ *\:[^;]+; *)*$”
    );

    Thread Starter stevegibson12

    (@stevegibson12)

    I did more testing, looks like the issue is it doesn’t take capital letters, whether it’s part of a named color or in the hex value. Seems like a simple fix. Perhaps I’ll submit a fix for it.

Viewing 8 replies - 1 through 8 (of 8 total)