I am working on a program that takes the original saved data from an article and inserts that into another article later. The problem is that the content appears to be stripped of all HTML and is put back in as text. Is there some way to save the article or configure CKEditor so that this doesn't happen? It appears that the content type of the article is "text/plain" in the OTRS database article table.
Any advice would be appreciated. Thanks...Dan.
CKEditor with articles - how to save as HTML [SOLVED]
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
CKEditor with articles - how to save as HTML [SOLVED]
Last edited by dstover on 17 Nov 2014, 18:37, edited 1 time in total.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
Re: CKEditor with articles - how to save as HTML
HTML content is handled as an attachment of the article
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: CKEditor with articles - how to save as HTML
Thank you. That was exactly the information I was looking for. I am now able to reload the HTML.
One more thing, the reloaded HTML is oddly formatted. For example, there is a lot of white space that was not there in the original. Is there anything I can do to retain the original formatting?
Thanks in advance...Dan.
One more thing, the reloaded HTML is oddly formatted. For example, there is a lot of white space that was not there in the original. Is there anything I can do to retain the original formatting?
Thanks in advance...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
-
- Znuny advanced
- Posts: 135
- Joined: 04 Jun 2013, 23:14
- Znuny Version: 3.3.3
- Real Name: Dan Stover
- Company: EMAC, Inc.
Re: CKEditor with articles - how to save as HTML [SOLVED]
Never mind. That was a coding error on my part. Thanks for your help...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Ubuntu 12.04
MySQL DB
Re: CKEditor with articles - how to save as HTML [SOLVED]
Can you show me the screenshot?
@dstover
@dstover