Fixing code formatting in rich-text-editing docs