Revert "WIKI-471 Strange behavior of markup cache on save action"

This reverts commit 17b2c8c22bab089ec36bad840b8d6f20f9770227.
WIKI-344 Exception when select attach image in Rich Text editor