Adding new text format gives Uncaught TypeError: f.format_tags.split is not a function