The last version of Blocknote fixed the issue with colors in exports. We can remove our workaround now.