Closed (outdated)
Project:
TinyMCE
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2008 at 23:00 UTC
Updated:
14 Jan 2021 at 19:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
juliendorra commentedHere is a modified README.txt (I improved the wording over the example above)
Please add it to CVS as I'm probably not the first to stumble on this little thing ( as this tip suggest http://drupal.org/node/82437#comment-155328 )
Comment #2
juliendorra commentedComment #3
spiffyd commentedI've installed the latest version of TinyMCE module and editor (v3.1.0.1). drupalbreak is installed correctly but doesn't show up as a button. Any suggestions?
Comment #4
markabur commentedyes, i think the new instructions are fine -- they do get drupalbreak added to the profile config screen, but the drupalbreak plugin isn't showing up as a button on the toolbar (needs to be rewritten for tinymce v3?), which is a separate issue.
Comment #5
spiffyd commentedApparently the included drupalbreak plugin is for an older version of TinyMCE. I found this updated version of the plugin which works fine with TinyMCE 3.x... give it a spin!
Comment #6
markabur commentedgreat, that helps... though i do have to comment out the two "console.debug" lines (21 and 25) in order to get the new plugin to work. thanks!
Comment #7
spiffyd commentedI'll confirm that what you did works. For some reason I didn't have to do this a while back but upon closer investigation, drupalbreak wasn't functioning properly again (I haven't used it in awhile) so your fix worked.
I've tested this plugin on FF and Opera and Chrome. It works on FF and Opera but not Chrome. Not sure if this is a browser limitation or has anything to do with code.
I made the fixes mark12b described in #6 and here's the new drupalbreak plugin that should work (in all browsers except Chrome).
Folks, please review and can someone roll this into the module please?
Comment #8
markabur commentedi tested this version of drupalbreak in safari 3 and firefox 3 on mac, and although it does add the drupalbreak button, and the button does add the break, it adds it at the end of the body rather than at the cursor. not sure how it used to work though... maybe this is as good as it got?
Comment #9
spiffyd commentedThere are actually two types of drupal breaks - one is "teaser" break, one is "page" break. You want the "teaser" break. Check to see if you have the right option selected in TinyMCE settings and not the page break.
Comment #10
markabur commentedit's the right version of the button... after a little further digging, it's just acting that way in certain situations when tinymce is generating invalid markup -- i paste 3 paragraphs and end up them marked up as paragraphs but also wrapped in an outer paragraph tag. once i remove the outer paragraph it's possible to put the drupalbreak between paragraphs.
Comment #11
bejayoharen commentedThis did not work for me in safari 3.1.2. Worked on firefox on same setup. When Installed, safari refused to show editor box at all. I was unable to install the other zip.
Comment #12
bejayoharen commentedhmmmm...... just reinstalled and it seems okay on safari now......
Comment #13
bejayoharen commentedLooks like it works sometimes and not others. Can't have that on my site, so looks like I'll have to switch to something else. Hope you guys work it out soon! Good luck!
Comment #14
cgjohnson commentedDoes anyone know whether FCK editor or any other wysiwyg works with drupalbreak or the D6 summary feature? I am longtime a fan of tinyMCE -- and hate to even mention the other one here -- but the probs with the drupalbreak are unfortunately a deal breaker.
On our site, as with the others here, drupalbreak shows up in the visibility settings but does not actually appear on the editor, and thus is unusable. I'd love to have the default summary function AND tinymce!
Comment #15
spiffyd commentedThere is nothing wrong with this Drupalbreak plugin (see #5). I use it all the time w/ TinyMCE with zero problems.
Make sure you're using Firefox or IE browser... I know that there may be problems with TinyMCE and its plugins with other browsers.
Comment #16
cgjohnson commentedThanks SpiffyD. I'm using firefox and others are using IE. Still doesn't show up even after the fix.... was always fine in D5. are you in drupal 6?
Comment #17
spiffyd commentedYes I am using Drupal 6. I am also using...
1) tinymce_3_1_0_1
2) Patch: tinymce-fix-roles-warning-245531-13
3) Patch: ToggleTinyMCE.patch (toggle disable tinymce fix)
4) the latest dev module version
Search this drupal site for threads to these patches.
I've attached a zip of my entire tinymce setup with drupalbreak which took me 2 months worth of trial and error to put together. See if it works for you...
Comment #18
lmayer commentedHi Spiffyd - thanks for the zip. I uploaded it and enabled it and set permissions to use it (Drupal 6.8) but am not able to create new profiles. I'm using Firefox on a Mac. I get a "page not found" error when I click on the link for "create a new profile." The url it points to is http://mysite.edu/tinymce//admin/settings/tinymce/add which looks wrong to me, too many directory slashes? I'm a newbie to Drupal and so I am pretty sure its me who is doing something wrong. I have it installed in the sites/all/modules/ directory I created. Can you offer any assistance?
Comment #19
spiffyd commentedI'd be happy to help you out. Perhaps we can resolve this through instant messaging. PM me your handle for AIM, MSN, or Google Chat and I'll respond.
Denis
Comment #20
cgjohnson commentedSpiffyD to the rescue! Thanks, that works.. only issue I have is that I now see the summary and
in the full node. Have you found a way to show only the content after the summary in the full node view?
cg
Comment #21
spiffyd commented@#20, please clarify - I do not understand your issue.
What do you mean by "summary" - teaser? You only see the teaser even in the full node view?
I have a feeling you are using the wrong "break". Drupalbreak comes with 2 kinds of break - one is the teaser break, the other is the page break. If you go to TinyMCE profile settings you will see 2 plugin options for each of these options. Make sure you are using the teaser break and not the page break. Hope that helps.
Comment #22
cgjohnson commentedI had an extra word in there -- I meant that we enabled the teaser (not page) break and now we see the code for !--break-- (in the <>)at the end of the teasers in a View
in a node, we see the pre-break text, the !--break-- code and then the rest of the text.
not ideal. Any ideas?
Comment #23
spiffyd commentedIn order for Drupal Break to work, you cannot type
in the TinyMCE editor. You have to type it in the pop up HTML editor or do it when you disable rich text. Otherwise, you will actually see !--break-- or something erratic b/c TinyMCE treats it as if you wanna actually type out that code...
Does that help?
Any other problems - I have started a thread...
http://drupal.org/node/348207
with a working tarball. I may continue updating it later as long as Moxicode keeps coming up with new features...
Comment #24
kylanvn commentedThank spiffyd. I has been used breakpage in tinemcy
Comment #25
cgjohnson commentedHmm. it used to work right in TinyMCE in Drupal5. I don't want our non-techie editors to have to do too much fancy maneuvering (I know, it's not really fancy, but it is enough to cause some grumbling and confusion). I'll check this link now, thank you.
Comment #26
spiffyd commentedThe reason many people can't get Drupalbreak plugin to work is one reason... Most likely the plugin they got is outdated and is not compatible with the latest Moxicode TinyMCE version (3+). There is actually an updated or patched Drupalbreak plugin floating somewhere out here in the Issues forum - that is how I got mine to work. (See this thread for the entire workign tarball: http://drupal.org/node/348207).
It took me an ungodly long time to figure this supposedly simple issue out. Cheers.
Comment #27
nicoloye commented