I prefer to write in a text editor such as Notepad++ and paste into the create content window. It seems that even with "Full HTML" checked, the editors I've tried will still insert paragraph tags. Even if I remove all white space before inserting the code.

Can anybody refer me to an editor that does not touch the code I enter? Is there perhaps some setting that can handle this for me? Still pretty new to drupal.

Comments

davemybes’s picture

Either of these are good. UltraEdit has more functions than Notepad2, but both have syntax highlighting and other neat programming-friendly features.
______________________________________________________________________________________________________
Need help? Check the FAQ and the Handbooks first.

______________________________________________________________________________________________________

David Vespoli’s picture

Actually, I'm all set with editing, the problem is what drupal does to my code once I add it to the site.

For example, when I Create content>Page and enter the code in the editor window, with Full HTML selected for input settings, when I actually look at what drupal outputs, it has added "p" tags all over the place. Is there some way to enter code in an editor without it being "revised" by drupal/editor program?

winston’s picture

I believe you have the Line Break Converter filter turned on for your Full HTML Input format. As I recall it is on by default.

Go to Admin, Site Configuration, Input Formats, then configure the Full HTML format. Look for the Filters check boxes. Turn off the Line Break Converter filter, then try.

- Peter

David Vespoli’s picture

That was exactly what I was looking for. I had hoped it would be that easy.

Thanks so much Pete!