There are two things with TinyMCE that really, really bug me. I was hoping someone would have a fix for them.
1. When you start typing in a document it doesn’t wrap that first paragraph in p tags. If your p tags are styled to place a space above the paragraph, which is common, then it won’t show the correct spacing. Next time you go to add some text above that first paragraph it will decide to now use p tags.
2. Every time I add a link, it puts a space after the link text.
Any ideas?
Andy
-
☆ A M B ☆
- 24,524 Posts
I checked your page, and got something, an image anyway, but the code I see is somewhat different:
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" id="1" width="100" height="100" align="top">
<param name="enabled" value="true" />
<param name="stretchtofit" value="true" />
<param name="balance" value="10" />
<param name="volume" value="100" />
<param name="id" value="1" />
<param name="src" value="assets/media/Vidz/krush.avi" />
<param name="align" value="top" />
<param name="width" value="100" />
<param name="height" value="100" />
<embed type="application/x-mplayer2" enabled="true" stretchtofit="true" balance="10" volume="100" id="1" src="assets/media/Vidz/krush.avi" align="top" width="100" height="100"></embed>
</object>
This is with FF on Mac; first I qet a QuickTime logo, then a fairly small image (first frame of movie, I presume) which runs the movie when I double-click on it, but no sound, and no controls.
I’m having trouble with the TinyMCE editor inside the TVs pane when editing a document in the manager: The editor area below the toolbars is only some 40 pixels high, barely any content is visible.
When I set the ’Advanced Resizing’ parameter to ’true’ in the plugin configuration I can resize the editor to a reasonable height temporarily. How can I get the editor to display at a larger height in the TV pane without having to resize each time?
Jeff: Thanks for the fine TinyMCE configuration options!
I’ve set the TinyMCE ’Path options’ to FullPathUrl or RootRelative, since when set to docRelative, my images in RSS won’t display properly.
And when I edit the content in manager, insert the link, select some document from the documents list, it just adds a ’"/manager/" right in front of the [~id~] tag. This way the links are not valid.
When I edit the content in the front-end (NewsPublisher snippet), it won’t let me format my text. Whenever I hit Enter, it inserts <p> </p>.
The JavaScript send an error "i.oldTarget.Element.onChange is not a function". Any ideas?
I’m using TinyMCE 2.0.8 with MODx 0.9.5, Firefox 2, have the "FLASH" plugin disabled and removed, full web theme, logged in as admin.
Hmm....looks like I need to fix a few bugs! Lots of suggestions to mull over too! Heh heh! I’ll see if I can get an update out quickly.
Jeff Whitfield
"I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
I’ve got one I didn’t notice in this topic yet; TinyMCE is generating HTML 4 code, while my page is XHTML 1.0, both on the front and backend, it’s using the settings of my xconfig (XHTML elements), but it doesn’t automatically close tags like
’s but also generates things like ’<font color="red">bla</font>’, which is incorrect.
By default, if I apply a style (from the styles list) in TinyMCE, then it creates a <span class="blah">....</span>.
How can I create a <div class="blah"> .. </div> ? (ie without going to the HTML source..)
Cheers
Gordon