Skip to content

Text wrap (Around/Extend) inside Post Content, not only Sidecar content areas #669

Open

Description

@georgeolaru

Follow-up to #662, which made a stored wrap inert in post content (option 2).

Ask

Make Text wrap Around/Extend actually work for blocks directly in Post Content, so a long-form post can wrap text around an image without a Sidecar.

What it needs

  • Rendering: lib/flow-segments.php only builds segments for novablocks/sidecar-area children. Top-level post blocks have no parent in pre_render_block, so this needs a the_content pass before do_blocks, protected from wpautop.
  • CSS: the _pull-outs.scss wrap selectors assume .nb-sidecar-area--content and need to include post content.
  • Editor: with-sidecar-break-controls.js shows the control only for sidecar content children, so the gate needs to include post content.
  • "Text wrap: Around/Extend" does nothing inside post content, and it switches off the image's left/right placement #662 rule: extend it so a wrap inside the new post-content segments counts as placed.

Acceptance

Activity

  1. georgeolaru commented on Sep 27, 2026

    @georgeolaru
    MemberAuthor

    George decided on 2026-09-27: build when a starter needs it (on demand, like #632). Leaving this open as deferred.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions