Closed JanValkenburg closed 2 months ago
This issue is not reproduced. Please try the latest version or provide a more detailed test environment.
It works at the moment, nothing changes. Was always using the latest version from the url below. https://cdn.jsdelivr.net/npm/suneditor@latest/dist/suneditor.min.js
Describe the bug I have whitelisted the 'lang' attribute using the attributesWhitelist, but the attribute is still being removed.
in: < p lang="JA">x< /p>
out: < p>x< /p>
code: attributesWhitelist: { 'all': 'lang' },
Expected behavior Keep the lang attribute in the code