CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Store Content

by etwoss » 11 Mar 2016 14:54

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
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 11 Mar 2016 15:44

Solved!
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by wieczy123 » 18 Mar 2016 12:48

Hi,

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

Thanx

Frank
wieczy123
 
Posts: 19
Joined: 06 May 2013 10:20

by etwoss » 18 Mar 2016 15:20

Hi

I just save

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

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by wieczy123 » 24 Mar 2016 10:30

thank you :-)
wieczy123
 
Posts: 19
Joined: 06 May 2013 10:20


Return to JQHTMLEditor

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.