P
peter
I'm looking for a Javascript editor similar to the obsolete HTMLarea
editor but which can be configured to restrict the buttons and
allowable markup to a tiny handful of named elements on a per-instance
basis. No font selection, or any other WYSIWYG bells or whistles. The
objective is to *prevent* the user from adding any markup except that
which is specified,
It's for a translation editor, where each source paragraph will only
ever contain a subset of other possibilities (elements like
<citetitle>, <xref>, <emph>, etc), but the selection will change from
para to para and may contain nested markup. The page is being
generated dynamically from XML using Cocoon, so each textarea can
easily be separately configured on-the-fly.
In effect I want an HTMLarea equivalent but stripped of all WYSIWYG
gunk except the named elements needed in each instance, plus their
button labels and their rendering (as CSS). My JS isn't good enough to
strip down HTMLarea to do the job.
editor but which can be configured to restrict the buttons and
allowable markup to a tiny handful of named elements on a per-instance
basis. No font selection, or any other WYSIWYG bells or whistles. The
objective is to *prevent* the user from adding any markup except that
which is specified,
It's for a translation editor, where each source paragraph will only
ever contain a subset of other possibilities (elements like
<citetitle>, <xref>, <emph>, etc), but the selection will change from
para to para and may contain nested markup. The page is being
generated dynamically from XML using Cocoon, so each textarea can
easily be separately configured on-the-fly.
In effect I want an HTMLarea equivalent but stripped of all WYSIWYG
gunk except the named elements needed in each instance, plus their
button labels and their rendering (as CSS). My JS isn't good enough to
strip down HTMLarea to do the job.