inserthorizontalrule function in htmlarea.php

inserthorizontalrule function in htmlarea.php

by Wim Eling -
Number of replies: 3

Hello,

does anyone know were the function of inserthorizontalrule is ?, i  cant find it. The function is not present at HTMLArea.prototype.execCommand.

Average of ratings: -
In reply to Wim Eling

Re: inserthorizontalrule function in htmlarea.php

by Janne Mikkonen -
Hi Wim,

It's nowhere, since it's one of those functions that browser it self provides aka it's implemented in browsers "editable mode".

Do google on word "execCommand +javascript"

- Janne -
In reply to Janne Mikkonen

Re: inserthorizontalrule function in htmlarea.php

by Wim Eling -

Can you use de execCommand like this ? View.document.execCommand('inserthorizontalrule', false, null);

In reply to Wim Eling

Re: inserthorizontalrule function in htmlarea.php

by Janne Mikkonen -
Basically yes, in practice no. Document desingMode must be on first.