# RTE: cleanup imported document code

**URL:** https://meta.discourse.org/t/rte-cleanup-imported-document-code/386713
**Category:** Feature
**Tags:** composer
**Created:** [October 25, 2025, 7:20am UTC](https://meta.discourse.org/t/rte-cleanup-imported-document-code/386713 "2025-10-25T07:20:20Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Thomas\_Rother](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_rother/32/423597_2.png) [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)
#### Post date: [October 25, 2025, 7:20am UTC](https://meta.discourse.org/t/rte-cleanup-imported-document-code/386713/1 "2025-10-25T07:20:20Z")

</div>

I am currently moving some content from Dokuwiki ([https://www.dokuwiki.org/dokuwiki](https://www.dokuwiki.org/dokuwiki)) to Discourse. The Dokuwiki syntax is not clean markdown, therefore it needs manual editing. I normally use the old editor as I can see all characters there. But with the old editor I see strange “jumping effects”: when you mark a text block and try to format it, the cursor jumps up and down. Re-formatting of longer text is nearly impossible that way, as you always have to re-position your editing window again. It is hard to describe this, I could only show it with screencasts … The effect was describe earlier in [Cursor jumping around in composer / editor text box](https://meta.discourse.org/t/cursor-jumping-around-in-composer-editor-text-box/263017)

The RTE editor editor does not show this effect. But I am missing an option to clean up junky code imported from other systems …

---

_[View the full topic](https://meta.discourse.org/t/rte-cleanup-imported-document-code/386713)._
