• When attempting to make a Quote using the Visual editor, the blockquote defaults to selecting the entire post. The entire post becomes the quote, and not the intended, actual quote. To reproduce:

    1. Import a few pages of text into the Add New Post editing area.
    2. Select a couple paragraphs in the middle of the text.
    3. Click the Quote button in the Visual editor.

    Expected result: the selected text is indented and marked as blockquote in HTML.
    Actual result: the entire post is indented and marked as a blockquote.

    Is this because I want to create my text and then import it into the Visual editor? I’ve got tons of text to import, and don’t want to hand code it all.

    If I select the text and click the Bold button, the selected area is correctly put in bold. Why doesn’t it work with Blockquote? Am I doing something wrong?

    If I select the area a second time and click Blockquote, the selected area is removed from Blockquote, but the rest of the text remains in Blockquote.

    I serached this site and the forum for help on this matter and did not find anything; sorry if this is explained elsewhere. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • That’s a new one on me.

    What are pasting from? Is it dragging along any markup? If you paste from something like Notepad do you have the same issue?

    Thread Starter camden

    (@camden)

    I’m pasting from an .rtf file using TextEdit on Mac OS X 10.4.11.

    I tried pasting from two different .txt files using TextEdit, and the same defect happened.

    There is no HTML in the files (I’ve done HTML manually since 1996). The whole idea is to be able to write text, paste it into WordPress, add the HTML auto-magically, and post. So as far as I know there is no pre-created markup.

    Thanks for getting back to me. Anything else I can try here?

    Sorry to seem like I’m beating a dead horse here…

    After you paste something in from TextEdit, have you changed the post editor to HTML Mode just to confirm no markup is sneaking in?

    Or maybe results would be different if you pasted while in HTML mode? I dunno, just guessing on that one. I should probably just sit on my hands and wait for someone brighter about the TinyMCE editor in this case ??

    Thread Starter camden

    (@camden)

    Ok, let’s try all that.

    1. Paste the text into the Visual Editor.
    2. Change to HTML view. Scroll post to verify there is no HTML. No HTML is present.
    3. Change to Visual view.
    4. Select the quotation and click Quote button.

    Quote now works CORRECTLY. Defect does NOT appear.

    And as you would now expect:

    1. Open the Visual editor.
    2. Switch to HTML view.
    3. Paste the text in.
    4. Switch to Visual view.
    5. Select the quote and click the Quote button.

    Again, the Quote now works correctly.

    And:

    1. Open the Visual editor.
    2. Switch to HTML view.
    3. paste the text in.
    4. Select the quote with “b-quote”.
    5. Switch to Visual view.

    Again, the Quote works correctly. Subsequent insertions of quotes using the Visual view Quote button work correctly.

    And one more just to be simple about it:

    1. Open the Visual editor.
    2. Paste the text in.
    3. Switch to HTML view. Do nothing in this view.
    4. Switch to Visual view.
    5. Select the text and click the Quote button.

    The Quote works correctly.

    After all this, the original defect still exists, but at least visiting HTML view prior to formatting seems to be a workaround.

    Thanks, Chris, your help is appreciated. I’ll try to complete this post (the first here with anything other than the most simple formatting) and see what happens.

    Thread Starter camden

    (@camden)

    Ah, one more example just to add to the confusion:

    1. Open the Visual editor.
    2. Switch to HTML view.
    3. Switch to Visual view.
    4. Paste the text in.
    5. Select the quote and click the Quote button.

    The Quote does not work correctly and the defect exists.

    Thread Starter camden

    (@camden)

    Gotta add one more.

    1. Open the Visual editor.
    2. Type text in, don’t paste it.
    3. Select some text and click the Quote button.

    The Quote works correctly.

    Those certainly aren’t the results I would’ve hypothesized…:-)

    But hey, looks like you have something that sorta/kinda works in a predictable fashion!

    Thread Starter camden

    (@camden)

    Yeah, not what I would expect either. I’ve got more for you. Try this.

    1. Open the Visual editor.
    2. Paste the text in.
    3. Save it as a Draft.
    4. Select the quotable text and click the Quote button.

    Now the Quote works correctly, and no visiting the HTML view (unless that’s done behind the scenes).

    And this one is fun too:

    1. Open the Visual editor.
    2. Paste the text in.
    3. Now, without selecting any text, click the Quote button.

    The entire text is put into Quotes. But it wasn’t selected! (I see that the paragraph where the cursor is should have been blockquoted.)

    Doing the same thing, Bold, Italics, Bullets, and Numbers all work correctly (they apply only to where the cursor is or the paragraph in which the cursor lies), but Quote, Left Justify, Center, and Right Justify are applied throughout the text even though the text is not selected.

    In further testing it appears that this defect also applies to the Left Justify, Center, and Right Justify buttons as well as the Quote button.

    Got my post up, anyway. When the Visual editor works, it works nicely. I will be curious if this problem is reproducible elsewhere and what, if anything, will fix it. And if it is indeed only a problem with my computer, if I will ever figure it out.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Blockquotes can only apply to the entire post’ is closed to new replies.