# Bug? Cleanup leaves \<figure\> on paste, even when disallowed

**URL:** <https://forum.modmore.com/t/bug-cleanup-leaves-figure-on-paste-even-when-disallowed/2024>\
**Category:** Redactor\
**Created:** [February 19, 2020, 6:32pm UTC](https://forum.modmore.com/t/bug-cleanup-leaves-figure-on-paste-even-when-disallowed/2024 "2020-02-19T18:32:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frischnetz](https://forum.modmore.com/user_avatar/forum.modmore.com/frischnetz/32/77_2.png) [@Frischnetz](https://forum.modmore.com/u/Frischnetz)\
**Post date:** [February 19, 2020, 6:32pm UTC](https://forum.modmore.com/t/bug-cleanup-leaves-figure-on-paste-even-when-disallowed/2024/1 "2020-02-19T18:32:49Z")

</div>

I set cleanup on paste to true, and I removed **figure** and **figcaption** from “Allowed block tags in paste”. But all figures are still pasted with all attributes and all enclosed code.

My other experiments with restricting the allowed block tags so far were successful, though.
