Page 1 of 1

Store Content

PostPosted: 11 Mar 2016 14:54
by etwoss
Hi

We have some variable text which the user can change using this component.
On a button click i save the content (HTMLEdit.JQHTMLEditorOptions.Content))
which is:

Code: Select all
'<span class="undefined" style="font-family:arial,sans-serif;font-size:xx-small">Average cost of your cost centre is <strong>#COST</strong>. Compared to the average cost of the other <strong>#USERS</strong> users in your cost centre, you are spending <strong class="undefined" style="color:#ff0000;font-size:medium">#PERCENT</strong>.</span>'


I Also load this saved text into the component the same way:

Code: Select all
  HTMLEdit.JQHTMLEditorOptions.Content := SavedContent;


I checked SavedContent and it's exact the same as when i saved it.

However the component shows a part of the savedContent,
Whats going on?

Eric

Re: Store Content

PostPosted: 11 Mar 2016 15:44
by etwoss
Solved!

Re: Store Content

PostPosted: 18 Mar 2016 12:48
by wieczy123
Hi,

i have got the same problem. How do you solved that?

Thanx

Frank

Re: Store Content

PostPosted: 18 Mar 2016 15:20
by etwoss
Hi

I just save

Content := Trim(HTMLEdit.JQHTMLEditorOptions.Content);

Eric

Re: Store Content

PostPosted: 24 Mar 2016 10:30
by wieczy123
thank you :-)