Rich Text custom fields

Hi everyone,

This question pops up every now and then, something I hear from our users
and something I see in the mailing lists. The wish for rich text custom
fields which can be used in the Articles.

For our users I’ve created this feature by converting the Wiki Text Custom
Field into a Rich Text Custom Field. I’ve picked this specific CF since our
users are kinda lazy and don’t want to learn the wiki markup… (they are
spoiled)

Below you can find a link to my blog where I’ve documented how you can
apply this change, which seems to work just fine with the latest releases
(though 4.2.4 has an issue, which can easilly be fixed):

This specific issue is now fixed for our users, so all is good there.

Though I do have two questions for the lists:

  1. What are your thoughts on this “hack” in particular? (am I doing this
    the right way, am I overlooking something, etc.).
  2. Should this custom field type be included into RT core? (not saying
    to replace wiki text, but creating a new CF for rich text)

Bart

Bart wrote:
Hi everyone,

This question pops up every now and then, something I hear from our users and something I see in the mailing lists. The wish for rich text custom fields which can be used in the Articles.

For our users I’ve created this feature by converting the Wiki Text Custom Field into a Rich Text Custom Field. I’ve picked this specific CF since our users are kinda lazy and don’t want to learn the wiki markup… (they are spoiled)

Below you can find a link to my blog where I’ve documented how you can apply this change, which seems to work just fine with the latest releases (though 4.2.4 has an issue, which can easilly be fixed):

This specific issue is now fixed for our users, so all is good there.

Though I do have two questions for the lists:

  1. What are your thoughts on this “hack” in particular? (am I doing this the right way, am I overlooking something, etc.).
  2. Should this custom field type be included into RT core? (not saying to replace wiki text, but creating a new CF for rich text)

Bart

Bart, this is something I have always wanted.

I find RT is really lacking some polish when it comes to articles. Even if one wants to learn the wiki markup, it still is difficult to use and incomplete.
I’d like for RT to use some more well-established wiki engine, with more markup and a full-fledged formatting toolbar.

Your solution is quite brilliant, although - being the one that supports our local RT installation - I am a little scared about using non standard components that needs to be maintained through updates.

Thank you for your contribution!
Mind publishing it on Wikia?

Regards
Cris

Thanks for your reply, it’s indeed a bit tedious to keep this working after
each update (a test environment is really important if you do).

I’ll add it to Wikia as well, will do so later today.

2014-06-12 10:49 GMT+02:00 Guadagnino Cristiano <
guadagnino.cristiano@creval.it>:

Bart wrote:

Hi everyone,

This question pops up every now and then, something I hear from our users
and something I see in the mailing lists. The wish for rich text custom
fields which can be used in the Articles.

For our users I’ve created this feature by converting the Wiki Text
Custom Field into a Rich Text Custom Field. I’ve picked this specific CF
since our users are kinda lazy and don’t want to learn the wiki markup…
(they are spoiled)

Below you can find a link to my blog where I’ve documented how you can
apply this change, which seems to work just fine with the latest releases
(though 4.2.4 has an issue, which can easilly be fixed):

This specific issue is now fixed for our users, so all is good there.

Though I do have two questions for the lists:

  1. What are your thoughts on this “hack” in particular? (am I doing
    this the right way, am I overlooking something, etc.).
  2. Should this custom field type be included into RT core? (not saying
    to replace wiki text, but creating a new CF for rich text)


Bart

Bart, this is something I have always wanted.

I find RT is really lacking some polish when it comes to articles. Even if
one wants to learn the wiki markup, it still is difficult to use and
incomplete.
I’d like for RT to use some more well-established wiki engine, with more
markup and a full-fledged formatting toolbar.

Your solution is quite brilliant, although - being the one that supports
our local RT installation - I am a little scared about using non standard
components that needs to be maintained through updates.

Thank you for your contribution!
Mind publishing it on Wikia?

Regards
Cris


RT Training - Boston, September 9-10
http://bestpractical.com/training

Bart G.

Faster then I thought, turned out to be rather easy to move content from
DokuWiki into Wikia :slight_smile:
Also added an old (but still working) extension I once made:

Though this reply is slightly off-topic, the discussion remains, I’m still
curious on everyones thoughts on this.2014-06-12 12:23 GMT+02:00 Bart bart@pleh.info:

Thanks for your reply, it’s indeed a bit tedious to keep this working
after each update (a test environment is really important if you do).

I’ll add it to Wikia as well, will do so later today.

2014-06-12 10:49 GMT+02:00 Guadagnino Cristiano <
guadagnino.cristiano@creval.it>:

Bart wrote:

Hi everyone,

This question pops up every now and then, something I hear from our users
and something I see in the mailing lists. The wish for rich text custom
fields which can be used in the Articles.

For our users I’ve created this feature by converting the Wiki Text
Custom Field into a Rich Text Custom Field. I’ve picked this specific CF
since our users are kinda lazy and don’t want to learn the wiki markup…
(they are spoiled)

Below you can find a link to my blog where I’ve documented how you can
apply this change, which seems to work just fine with the latest releases
(though 4.2.4 has an issue, which can easilly be fixed):

This specific issue is now fixed for our users, so all is good there.

Though I do have two questions for the lists:

  1. What are your thoughts on this “hack” in particular? (am I doing
    this the right way, am I overlooking something, etc.).
  2. Should this custom field type be included into RT core? (not
    saying to replace wiki text, but creating a new CF for rich text)


Bart

Bart, this is something I have always wanted.

I find RT is really lacking some polish when it comes to articles. Even
if one wants to learn the wiki markup, it still is difficult to use and
incomplete.
I’d like for RT to use some more well-established wiki engine, with more
markup and a full-fledged formatting toolbar.

Your solution is quite brilliant, although - being the one that supports
our local RT installation - I am a little scared about using non standard
components that needs to be maintained through updates.

Thank you for your contribution!
Mind publishing it on Wikia?

Regards
Cris


RT Training - Boston, September 9-10
http://bestpractical.com/training


Bart G.

Bart G.

  1. What are your thoughts on this “hack” in particular? (am I doing this the
    right way, am I overlooking something, etc.).

I’d do it as a new CF Type, which means less overriding / hacking.

You also likely want to remove the Article HTML scrubber, otherwise
you’re going to have some things destroyed.

  1. Should this custom field type be included into RT core? (not saying to
    replace wiki text, but creating a new CF for rich text)

We’ve quoted adding this to core for a number of customers, but nobody
has sponsored it and we have a large todo list that it never seems to
make it to the top of.

Sane branches targeting master (for 4.4) which add a new CF type or if
someone wants to work with us to add it, we’re always interested.

Keep in mind, if you write a large amount of code as a pull request,
you’re asking us to spend time reviewing it and then spend time going
forward maintaining it. When we work with a client to add a new
feature to core, we consider future maintenance as part of that work.

-kevin