CKEditor. How to avoid spaghetti code while blogging?

Creating and modifying plugins.
Post Reply
Czorneboh
Regular
Posts: 383
Joined: Tue Apr 08, 2008 7:17 pm
Location: Berlin
Contact:

CKEditor. How to avoid spaghetti code while blogging?

Post by Czorneboh » Thu Jan 08, 2015 2:12 am

Hello everybody!

Can CKEditor help me with avoiding spaghetti code?
I now have got notice at http://www.seitenreport.de, that there is much spaghetti code because of using html for editing the letters (bold). I should try to use css. But when I want to highlite special words in textures, how to do that?

Czorneboh

User avatar
yellowled
Regular
Posts: 7072
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: CKEditor. How to avoid spaghetti code while blogging?

Post by yellowled » Thu Jan 08, 2015 7:55 am

Czorneboh wrote:that there is much spaghetti code because of using html for editing the letters (bold). I should try to use css.
I'm not sure I get what you mean. Judging from a quick glance at your blog, you use headings and <strong> to markup text which is supposed to be bold. Both are the proper HTML tags for that. There is nothing spaghetti about that.

A bad example would be if you had (deprecated) tags like <font>, but I could not find instances of that.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

Post Reply