Hi Formspider team,

I was wondering how the htmlEditor component works. I want to create some text with markup to be able to render a nice text content with the htmlRenderer. I created a cell with the htmlEditor in it, but i only get a non editable text box without any controls.

Can you explain how this should work, or am i misunderstanding the function of the htmlEditor?

Thanks, Michiel

asked 03 Sep '12, 11:45

Michiel%20A's gravatar image

Michiel A
5161547
accept rate: 13%


You should set its value to an html such as:
<span style="font-weight:bold;"> Hello </span>
I know its name is confusing but it will be changed in future releases.
What you should know for now is:
HTMLEditor gets an html end renders it (api_component.setValue),
HTMLRenderer gets a URL and renders it (api_component.setURL).

link

answered 03 Sep '12, 13:05

oskansavli's gravatar image

oskansavli ♦♦
3604
accept rate: 45%

edited 03 Sep '12, 13:06

Hi Oskan,

OK, that is clear. I though the htmlEditor was something like CKEditor. So there is currently no text editor component in Formspider? I feel a change request coming soon.. ;)

Thanks, Michiel

(03 Sep '12, 14:03) Michiel A
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6

Asked: 03 Sep '12, 11:45

Seen: 998 times

Last updated: 03 Sep '12, 14:03


© Copyright Gerger 2017