Forum Replies Created

Viewing 15 replies - 1 through 15 (of 35 total)
  • For those who care, I put the detailed review here:
    https://wordpress.org/support/topic/nested-lists-its-the-pits/

    Thread Starter Eric Armstrong

    (@aeric325)

    The edit button moved from the bottom of the review to the top after some time duration expired. Weird, but okay. At least editing is still an option. So I’ve added to it.

    The comments I added here were integrated into the original review. (I can edit this follow up comment, but have not as yet found a way to delete it.)

    Unfortunately, the other comment beside this one still remains. I can neither edit that one nor delete it. But ignore it. I folded those comments into the original post, as well.

    Thread Starter Eric Armstrong

    (@aeric325)

    I wanted to edit the review above, but time has expired.
    Too bad, because I wanted to report that the work around
    is even a little better than expected:
    Once you have a multi-item list with two or more items in it,
    the indent and outdent features work nicely.

    I am in full agreement with the 1-star rating. I have never seen anything so unusable in my life. I wrote details here, originally. But I moved them to an independent review to add to the number of 1-star reviews.

    Thread Starter Eric Armstrong

    (@aeric325)

    Many thanks, Ben! It’s great to know what it does.
    I like it! I want it! I just never knew…
    :__)

    Thread Starter Eric Armstrong

    (@aeric325)

    Nice! I’ll give it a shot…

    Thread Starter Eric Armstrong

    (@aeric325)

    Awesome. Thanks!

    Thread Starter Eric Armstrong

    (@aeric325)

    Stumbled across the ability to create a new topic once again.

    The key is to skip past the “Welcome to Support” link (so appealing, so right there…)
    and go down to one of the “View Forum” links. That takes you to an actual forum, where you can review and create topics!

    (Writing these notes for myself, so I’ll remember them!)

    Thread Starter Eric Armstrong

    (@aeric325)

    Joy, you are absolutely right. I was totally wrong.

    It turns out that three of my plug-ins put option-blocks below what used to be the edit-window. In 5.0, those option blocks appear in the middle of the edit-block, after 50 lines or so.

    I found that out when I converted to blocks, and still couldn’t see the remainder of my text.

    When I minimized the Yoast SEO, Ad Inserter, and Table of Contents windows, they small windows were there in the middle of my post, but the remainder of my post was visible (and editable) below them!

    Thread Starter Eric Armstrong

    (@aeric325)

    Nice! Thanks. Dang, that’s clever.
    Where did you find the API details?

    P.S.
    MY existing posts appear to be completely un-editable in the “classic” editor.
    I can see the first 50 lines or so, but I haven’t found a way to scroll beyond that.
    With 600 articles, that’s going to force me to convert anything I want to edit into tiny, bite-sized blocks in order to do so. Ugh.

    Thread Starter Eric Armstrong

    (@aeric325)

    Never mind. It fails.

    It seems to work, at first.
    The editor shows this:
    [!– wp:paragraph {“className”:”copyr”} –]
    [p class=”copyr”]…

    But the preview of that option simply hangs.
    Removing the inner p-class designation sort of works:
    [!– wp:paragraph {“className”:”copyr”} –]
    [p]…

    It previews properly. But the next time you edit, the classname
    has been removed, leaving this:
    [!– wp:paragraph –]
    [p]…

    So the text is there, but the styling is gone.
    You can try to put it back:
    [!– wp:paragraph –]
    [p class=”copyr”]…

    But that just takes you around in circles. The next time you
    look at it, you’re back to
    [!– wp:paragraph {“className”:”copyr”} –]
    [p class=”copyr”]…

    That’s where we came in…

    Thread Starter Eric Armstrong

    (@aeric325)

    Huzzah! It worked.

    It’s pretty brittle. Several options I tried either didn’t work,
    hung when attempting to preview, or hung when attempting to save.

    This is the winning entry:
    [blockquote]
    [p]summary[/p]
    [/blockquote]
    [p][!–more–][/p]

    [!– wp:paragraph {“className”:”copyr”} –]
    [p]Copyright notice, etc.[/p]
    [!– /wp:paragraph –]

    The key was to move class=”copyr” from the [p] tag to the wp:paragraph directive.

    That produced the desired results in the editor.
    Next: How does it work when generated in functions.php?

    Thread Starter Eric Armstrong

    (@aeric325)

    AHA! There it IS.

    The three dots at top right of the entire window do indeed reveal a “Code Editor” option. (I had only seen the three dots on each block.)

    You’re right. I can create two blocks, then go to the code editor and use that code to prime the pump. (HTML comments delineate the start and end of blocks, so the process should work quite well.)

    Thanks!

    Thread Starter Eric Armstrong

    (@aeric325)

    I am not talking about how content is output.
    Nothing about that has changed.

    My ISP upgraded to 5.0, which is fine. So I’m figuring it out now.

    I do see that the generated text is shown in the classic editor,
    when I edit — because it contains more than one “block”.

    In the “…” menu, there is an option to “Convert to Blocks”.

    Doing that puts each section in its own block. That’s more than
    I wanted, but it will work. It gives me the option of using blocks
    when I went them.

    It would have been nice to generate content that was in two or
    three main editor-blocks, though…

    Thread Starter Eric Armstrong

    (@aeric325)

    I can, of course, avoid the block editor altogether, but my preference
    would to be take advantage of the functionality it offers. The question
    is to provide functionality I’m already taking advantage of with the
    new tool.

    Here is the functions.php code:

    function my_editor_content( $content ) {
    $content = <<<EOD
    [blockquote]…summary goes here…[/blockquote]
    [!–more–]
    [p]…content goes here…[/p]
    [p]…Copyright notice, etc…[/p]
    EOD;
    return $content;
    }

    The generated text goes into a single block. The “block inserter”
    can be inserted before or after, but the goal is to split the
    block in two, so new blocks can be added in the “content” area.

    That could be done with a manual “split block” operation, or better,
    with code in the function that would generate two blocks instead of one.

Viewing 15 replies - 1 through 15 (of 35 total)