Plugin not idempotent
-
I am on a multisite blog and we have a contractor hosting our site for us on aws. I have a test author account that I am using, so I have been experimenting with a user who is not a superadmin.
I have noticed a few issues that appear to be related:
1. If you save your post once with the iframe plugin in the visual editor, the gif appears in the visual editor. On hitting update again, the gif disappears due, I believe, to it having been converted to the<iframe>
tag on the first update, then stripped on the second update. Is there any solution to this, or is this just a bug?The gif we are trying to embed is
[iframe src="//giphy.com/embed/h45algtniCWEo" width="480" height="271" frameborder="0"]
2. Switching between visual and text editor appears to wreak havoc, with the iframe eventually getting stripped out.
Are these known issues? I think they both revolve around the iframe shortcode being converted into iframe html, then eventually getting stripped.
- The topic ‘Plugin not idempotent’ is closed to new replies.