Skip to content

Commit dc8b69c

Browse files
committed
bah
1 parent f086b8c commit dc8b69c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎v3/js/opt-office-mix.js‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ function getAppStateWithTraceCache() {
177177
function enterOPTEditCodeMode() {
178178
updateAppDisplayForMix('edit');
179179
$("#toggleModebtn").html("Visualize code").show();
180+
181+
// https://groups.google.com/forum/#!msg/ace-discuss/TQHqey_NkBg/q9x_tLrvsXoJ
182+
pyInputAceEditor.resize(); // weird hack that's necessary to refresh the editor's latest text values. #weird
183+
180184
saveCurrentConfiguration();
181185
}
182186

0 commit comments

Comments
 (0)