I have a simple question...
When making a list in the editor, the source would look like:
<ul>
<li>item1</li>
<li>item2</li>
<li>item3</li>
</ul>
Is there a way I can set it to become:
<ul><li>item1</li><li>item2</li><li>item3</li></ul>
I have a feeling this can be solved easy, but am not able to find out where or how...
Anyone?
When making a list in the editor, the source would look like:
<ul>
<li>item1</li>
<li>item2</li>
<li>item3</li>
</ul>
Is there a way I can set it to become:
<ul><li>item1</li><li>item2</li><li>item3</li></ul>
I have a feeling this can be solved easy, but am not able to find out where or how...
Anyone?
Re: Formatting source code
If so, I believe the best way to handle that is with a "Trigger."
You'll probably need to enable the "Trigger" module under: Administer >> Site Building >> (Core) Trigger.
After you've enabled that, you'll notice an option under: Administer >> Site Building >> Triggers.
I'm fairly new to Drupal, so you'll need to study the API to understand which event to hook into to accomplish what you need.
I've purchased a number of Drupal books; one of which is: Pro Drupal Development by John K. VanDyk and published by: Apress.
It explores Triggers and Actions, but as stated, I'm fairly new to this.
Hope that starts you in the right direction.
Re: Formatting source code (Solved)
Not exactly sure what Drupal is, but regardless, I appreciate your reply
I found the solution however for the FCK editor....
In fckconfig.js -->
Set FCKConfig.FormatSource to False and set FCKConfig.FormatOutput also to False.
This solved the issue