I'm looking for a "read more" plug-in for TinyMCE so that I can place the read more link exactly where I want it in the text. Up to now I have been simply previewing my comment and then copying and pasting the html code for the link to put it where I want it, but that seems silly.
I looked at the SourceForge page and did not find anything that clearly does this. Does anyone know of such a plug-in and where I could get it? Or (in the alternative) could we consider this a feature request for a future version of TinyMCE for Drupal?
Thank you
Comments
Comment #1
kreynen commentedAre you doing this for every post?
If so, you may want to modify the theme or use the Read More Tweak module.
Comment #2
femrich commentedNo, Not for every post. Just now and then. But it would be simpler if there were a plug-in to do this (like the one in Wordpress.com's version of TinyMCE) rather than cutting and pasting code. I'm wondering if anyone has tips on porting a wp plug-in to Drupal, or perhaps tips on reconfiguring an existing plug-in to insert different code?
As I understand it, the readmore tweak (which I already use) isn't about choosing the point in the text at which the break occurs (which is what I want to control), but rather about choosing where the "read more" link is placed relative to the text.
Thanks
Comment #3
AdrianB commentedTake a look at tinymce/plugins/drupalbreak/README.txt
Comment #4
femrich commentedThanks, but I'm having a terrible time finding this file. Could you please give a complete URL?
Comment #5
femrich commentedOops! Found it. It isn't a URL at all, but a file in the TinyMCE download. I will read the file now and try out the plug-in. Thanks!
Comment #6
femrich commentedGreat! I installed and activated the plug-in as per readme.txt and it seems to be working fine. Thanks!
FYI to others, this plug-in comes pre-installed in the plugins section of the drupal tinymce download. Follow the readme.txt file carefully to install.
Comment #7
AdrianB commentedGood, my answer was a little short, but you figured it out eventually :)
Comment #8
mupsi