What TInyMCE does to beautifully formatted source that you enter or copy into the HTML source window is just plain brutal. Would be very nice if it would retain the formatting; at the very least, the line breaks.
The way it is now, it is very difficult and time-consuming to source-edit a page that was previously saved with TinyMCE as the editor. I do not recall FCK being this bad in this regard.
TinyMCE and source formatting [solved]
TinyMCE and source formatting [solved]
Last edited by kermit on Sun Oct 14, 2007 2:27 pm, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: TinyMCE and source formatting
I use PSPAD which is free, it has a nice feature to compress HTML or format it properly. I never use the TinyMCE HTML view for any other than cut and paste simply because it doesn't support tab and I always jump out of it when pressing tab.
Get PSPAD from:
http://www.pspad.com/en/
Well worth a download.
Get PSPAD from:
http://www.pspad.com/en/
Well worth a download.
Regards,
Sy

Sites built with CMSMS:
http://www.eska.co.uk, http://avasig.com, http://www.pygmygoats.co.uk, http://www.agsbuildersltd.com, http://onlineslotracing.com
Sy

Sites built with CMSMS:
http://www.eska.co.uk, http://avasig.com, http://www.pygmygoats.co.uk, http://www.agsbuildersltd.com, http://onlineslotracing.com
Re: TinyMCE and source formatting
Problem with wysiwygs is that they dont work!
The whole idea is just broken by design.
Wysiwygs are meant for clueless users that cant remember how is written..
Anyways, we are just adding tiny from their repo so this feature request belongs to tiny dev team, we just integrate them to be a part of cmsms.
The whole idea is just broken by design.
Wysiwygs are meant for clueless users that cant remember how is written..
Anyways, we are just adding tiny from their repo so this feature request belongs to tiny dev team, we just integrate them to be a part of cmsms.
Re: TinyMCE and source formatting
Whaddyaknow, I found a source formatting option in the admin panel's TinyMCE configuration; kinda went the round-a-bout way of finding it.. was looking for where to insert:tsw wrote: Anyways, we are just adding tiny from their repo so this feature request belongs to tiny dev team, we just integrate them to be a part of cmsms.
tinyMCE.init({
...
apply_source_formatting : true
});
and found a reference to a preference setting variable... THEN I went looking for where to change it...
It's not how *I* would format it, but it sure beats the mangled mess I was getting before.....
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: TinyMCE and source formatting [solved]
Kermit,
Can you provide more info on this solution? Where did you find this piece of code? Or what fle did you place this code in? How does it fix formatting. I am having an awful time with these Wsywig editors.
-p
Can you provide more info on this solution? Where did you find this piece of code? Or what fle did you place this code in? How does it fix formatting. I am having an awful time with these Wsywig editors.
-p
Re: TinyMCE and source formatting [solved]
admin panel -> modules -> tinymce basic -> Apply source formatting to the output HTMLpbrady wrote: Can you provide more info on this solution? Where did you find this piece of code? Or what fle did you place this code in? How does it fix formatting. I am having an awful time with these Wsywig editors.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
Re: TinyMCE and source formatting [solved]
Sorry...I guess I misunderstood. I was looking for the file where you inserted your code. Now, I understand that you did it from the CMS tinymce panel...sorry.
-p
-p