close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

edit update removes some styling

Thread began 1/07/2014 8:17 am by Jamie | Last modified 1/07/2014 11:10 am by Jason Byrnes | 333 views | 7 replies |

Jamie

edit update removes some styling

Hi Jason

Have inherited a website in which the main content area was created using tables. The client doesnt have the time or money to change this setup so have just added a CMS so that they can edit the content themselves.

The problem is that if they go to edit an entry, when they click on update, the update is causing certain elements to be removed from the styling thus throwing off the whol epage. For example,

<td valign="top" width="50%"> gets changed to <td>
<div align="left"> gets changed to <div>
<ul class="fade slideshow"> gets changed to <ul>

Is there anyway I can stop this happening please?

Cheers

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/ckeditor/config.js file add :

config.allowedContent=true;


to the CKEDITOR.editorConfig = function( config ) { array

Sign in to reply to this post

Jamie

Thanks Jason, Have changed the file as follows:

/**
* @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.html or http://ckeditor.com/license
*/
config.allowedContent=true;
CKEDITOR.editorConfig = function( config ) { array
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
};



Unfortunately it is still editing the code on update...

Sign in to reply to this post

Jason ByrnesWebAssist

did you clear the browsers cache?

Sign in to reply to this post

Jamie

Yes I did clear the cache with no effect... I also tried 2 different browsers that hadnt been used to access the site in the first place.

See pm for further info requested

Sign in to reply to this post

Jason ByrnesWebAssist

in the config file:


config.allowedContent=true;
CKEDITOR.editorConfig = function( config ) { array

was supposed to be:

CKEDITOR.editorConfig = function( config ) {
config.allowedContent=true;

Sign in to reply to this post

Jamie

ahh thats done the trick - was it the order and the array in their or just the array?

Sign in to reply to this post

Jason ByrnesWebAssist

order and the array, both

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...