Repository navigation
v2.14.1
·
96 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
- Block bindings in post content resolve against the record —
HasRenderedBlockContent::renderContent()(therendered_contentaccessor visual-editor'score/post-contentblock reads) now renders with a visual-editorBindingContextfor the model.custom_field,post_coreandrelationbindings inside a record's body previously fell back to their static values on the front end, because the accessor runs before the template's own render sets a binding context. Soft integration as before: with no visual-editor installed nothing changes, and visual-editor versions before 1.14.0 ignore the context. text/link/borderpalette slugs no longer override picked colors — those slugs'.has-{slug}-colorrules share their class name with thehas-text-color/has-link-color/has-border-colorblock-support markers, soGlobalStylesEmitterforced the slug's color onto every block with a custom color (e.g. a button with a palette text color rendered in the theme'stextcolor). Each of those slugs now gets an exact.has-{slug}-color-presetrule (visual-editor 1.14.1's Blade renderer adds that class to blocks that pick the slug as their text color), and the.has-{slug}-colorrule becomes a zero-specificity fallback for other markup: it skips elements with an inlinecolor:, requireshas-text-colorforlink/border, and is emitted last withtextafterlink/border, so a block that pickedtextand also has a link or border color keeps its text color. The emitter's cache schema version moves tov5, so cached CSS regenerates on upgrade. Pairs with visual-editor 1.14.1.