Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm looking for an online opensource editor for css files. It should have syntax highlighting. Also it should be easily integratable within php code.

Edit: I need something like textarea that highlights my css code. And i want to add it to my website so i can change my css from everyplace.

share|improve this question
1  
going to add an answer, but i'm not entirely sure what you mean. do you mean an editor that gets integrated into a website (like the one you wrote your question in) ? that allows you to edit content and also css or are you looking for an editor that allows you to edit css that is in the same document as php code ? –  xyious Jul 25 '11 at 20:10
    
Check my answer I provided a demo in the update to an online open source editor with syntax highlighting which you can integrate into a web app –  Anagio Mar 22 '12 at 4:42
add comment

closed as not constructive by John Conde Mar 22 '13 at 3:23

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

Without a lot of research I will go ahead and assume that there is no javascript based editor that will syntax highlight code that you could integrate into a website. As a lightweight editor that syntax highlights and lets you edit css and php i would recommend notepad++. It will syntax highlight a lot of languages (html/php/css are among them). But there are many others.

share|improve this answer
    
I've edited the question, so now it better explain what i want –  Miro Jul 25 '11 at 20:45
    
while it is possible to implement something that lets you edit css files or even html documents online i wouldn't recommend trying. Since there is very little use to something like that, i am fairly confident that no such thing exists in a downloadable form. I would always recommend editing the css offline and trying it out before uploading (if you have a css file and an html file you can just load it into a browser locally to see how it looks without even needing a webserver). –  xyious Jul 25 '11 at 20:59
add comment

You should download and use CKEditor which is the editor that MailChimp and many other major companies use, it is open source and combined with the syntax highlighter plugin it's the perfect tool for integrating into your own custom web application to edit CSS and other files

Updating my answer

Ckeditor has syntax highlighting built in see the demo here

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.