fix: error in disabling rich text edit for "page" and "link"