I use a weird hack to prevent Coda’s Formula Builder from popping up when interacting with the “Supported Characters” feature of the Setup Guide’s Custom Setup option. It works by opening a link to the current page’s current row with OpenWindow() immediately after the user clicks a button. As long as that row is visible within the viewport, Coda doesn’t scroll the page so there’s no jarring side effect. ObjectLink() returns a link to the page, but we need to include the “row hash” for the hack to work, otherwise Coda opens a new browser tab. We just hardcode this hash because, thankfully, when someone copies a doc the row hashes are all retained in the copied version. This will only need to be updated if the position of the “sidebar” is moved elsewhere on the page or in the doc.
Sidebar’s row hash.#_lu5o8
Sidebar’s full URL.https://coda.io/d/_dW3U81X1DnR/_suZuQ#_lu5o8
This block allows users who select the “Custom Setup” option to select the character sets they’d like to include in their own setup. Character sets can be managed from the page. When you click a button within a canvas formula (as we ask the user to do below), the Formula
Latin BasicPunctuation & SymbolsNumbersUppercase & LowercaseNew Line, SpaceLatin-1 SupplementPunctuation & SymbolsUppercase & LowercaseLatin Extended-AEuropean LatinMicrosoft WordDashes, spaces, quotes