         case titleTextField:
             updateTitleHeight()
             updateTitlePlaceholderVisibility()
-        case htmlTextView:
-            htmlTextView.textStorage.colorizeHTML(font: Constants.defaultContentFont)
         default:
             break
         }

            switch editingMode {
            case .html:
                htmlTextView.text = richTextView.getHTML()
                htmlTextView.textStorage.colorizeHTML(font: Constants.defaultContentFont)
                htmlTextView.becomeFirstResponder()
            case .richText:
                richTextView.setHTML(htmlTextView.text)

    }()

    fileprivate(set) lazy var htmlTextView: UITextView = {
        let storage = HTMLStorage(defaultFont: Constants.defaultContentFont)
        let layoutManager = NSLayoutManager()
        let container = NSTextContainer()

        storage.addLayoutManager(layoutManager)
        layoutManager.addTextContainer(container)

        let textView = UITextView(frame: .zero, textContainer: container)

        let toolbar = self.createToolbar(htmlMode: true)

