Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can override javascript functions by simply redefining them inside an html() block, or in the actual html of the worksheet. I believe the function you are looking for is cell_input_resize() in the Contents/Resources/sage/devel/sagenb/sagenb/data/sage/js/notebook_lib.js file.

Doubtless we could use a prepackaged solution for auto-sized input boxes these days. This is old code.