When you copy/paste a piece of HTML (or a Word doc), all bolded content — even those using <strong> tags — uses <b> tags. We would like to never use <b>, and always use <strong>. Is it possible to define a content handler that runs before all others that takes care of this?

Asked at https://getsatisfaction.com/aloha_editor/topics/content_handler_to_conve....

Comments

wim leers’s picture

wim leers’s picture

Project: Edit » Aloha Editor (obsolete)
Version: 7.x-1.x-dev » 8.x-2.x-dev
Component: Aloha Editor » Aloha Editor (upstream)
wim leers’s picture

Status: Needs work » Postponed
Issue tags: +post-feature freeze

This can definitely happen post-feature freeze; it's merely a refinement.

wim leers’s picture

Title: Content handler to convert to when pasting (must run before all others) » Add our own formattings transformation handler (i.e. when pasting, always use <strong>, never use <b>)

What a poorly descriptive title! Fixed.