A long link shows multiple link icons - also using firefox it was opening the URL behind the Bike.
Bike 2.0 (253)
macOS 15.6.1 (24G90)
A long link shows multiple link icons - also using firefox it was opening the URL behind the Bike.
Bike 2.0 (253)
macOS 15.6.1 (24G90)
Seeing that here too.
Not sure if it’s by design, but if we narrow the editor to increase wrapping, each line is decorated with an icon:
Not by design, AND already fixed for the next release!? I mean even before I read this… that might be a first ![]()
For interest… the fix is to update the default stylesheet rule that adds those buttons. Previously it was adding the button as a decoration to each text run with an @a attribute. That generally works, but when text breaks like this is creates multiple spans to decorate… so was getting added to end of each. Updated rule fixes (not entirely sure if the fix will work in current 253 release, but it’s fixed locally anyway):
run(`.end-of-matches(.@a) = true`, (context, text) => {
let symbol = new SymbolConfiguration('arrow.up.forward.app')
.withSymbolScale('medium')
.withFont(text.font.withWeight('semibold'))
.withHierarchicalColor(text.color.withAlpha(1))
let image = Image.fromSymbol(symbol)
let imageWidth = image.resolve(context).width * 1.1
text.padding.right = imageWidth
text.decoration('button', (button, layout) => {
button.commandName = 'bike:.click-link'
button.x = layout.trailing
button.anchor.x = 0
button.width = layout.fixed(imageWidth)
button.contents.gravity = 'center'
button.contents.image = image
})
})
![]()
Powerful stylesheet system – it hadn’t occured to me that the icon arose from there …