inserthorizontalrule function in htmlarea.php

inserthorizontalrule function in htmlarea.php

Nosūtīja Wim Eling
Atbilžu skaits: 3

Hello,

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

Vidējais novērtējums: -
Atbildot uz Wim Eling

Re: inserthorizontalrule function in htmlarea.php

Nosūtīja 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 -
Atbildot uz Janne Mikkonen

Re: inserthorizontalrule function in htmlarea.php

Nosūtīja Wim Eling

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