Aaron's local community (100 miles):
View more posts on the website
While building a Filament Panel in an internal Laravel app today, I wanted to display a read only view of my Model. It contains a “message” field that has line breaks in it, which I wanted to show correspondingly. I achieved this by combining the formatStateUsing() and html() methods with php’s nl2br function on a […]
The problem, introduced with Safari 18 The very recently released Safari 18 on macOS Sequoia seems to have introduced a bug that makes the columns in the classic editor interface of WordPress overlap. Metaboxes that should actually be below the main content field are placed under the second sidebar column. Easy Fix: add CSS to […]
Today I learned that there is a very handy shortcut for interacting with the currently selected DOM element in your browser’s console: By the way: you don’t need to have the element currently selected anymore, since $0 means “the most recently selected node”. Also there is $1 to $4 for the last-selected to fourth-ago-selected node, […]