When entering a formula in a SpreadJS cell, such as =SUM , the formula text may temporarily appear in blue and use styling that differs from the default cell font. This behavior may seem inconsistent with spreadsheet interfaces where formula input visually matches standard cell content. However, this is expected behavior in SpreadJS and is part of its current formula editing design.
During formula entry, SpreadJS evaluates the parsing state of the input. If a function name is typed but the opening parenthesis '(' has not yet been entered, the function is treated as being in an undetermined state and is displayed in blue. Once the opening parenthesis is added for example, =SUM( the function becomes fully recognized, and the formula styling updates to match the cell’s formatting. This visual distinction helps communicate the formula’s parsing status while editing and is an intentional aspect of the SpreadJS user experience.
Kristina Ismail