logseq / db-test

Used for Database version test
5 stars 1 forks source link

Code Block Linebreak not working #150

Open hdansou opened 18 hours ago

hdansou commented 18 hours ago

Search first

What Happened?

using the setting :editor/extra-codemirror-options { :lineWrapping true} does not wrap long line in the code block. This works fine in the Logseq MD version

Reproduce the Bug

  1. Set the setting :editor/extra-codemirror-options { :lineWrapping true}
  2. Create a code block
  3. Add a long array (824130,503233,929183,362649,873419,429226,523376,398262,280029,345276,596313,378415,249044,812468,215769,839390,569415,676682,987814,589690,862355,757460,831343,417467,605765,923445,264891,756636,988789,975718,246826,789132,953450,907729,933135,340895,948776,748501,455799,850007,856912,924395,479154,346809,450385,893979,461625,487887,605090,220385,635912,328484,924441,646046,621923,101203,726780,925802,503698,592789,410305,556117,434034,175324,537628,410503,178708,953359,275519,354232,775946,934283,584483,265046,366170,215685,977528,730793,242112,510494,257789,929803,779974,798362,300673,225272,638635,200062,967726,721086,355767,620590,526662,233202,927255,396229,304814,228099,729455,510977)

Expected Behavior

Linewrapping setting should wrap the long text

Screenshots

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.