Revert "remove broken/unused magicMarkup .."

This reverts commit 29f12909f8a25764cf42bc169ce55b61c6785dea.
fix magicMarkup on align buttons..