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

kreynen’s picture

Are you doing this for every post?

If so, you may want to modify the theme or use the Read More Tweak module.

femrich’s picture

No, 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

AdrianB’s picture

Take a look at tinymce/plugins/drupalbreak/README.txt

femrich’s picture

Thanks, but I'm having a terrible time finding this file. Could you please give a complete URL?

femrich’s picture

Oops! 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!

femrich’s picture

Great! 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.

AdrianB’s picture

Good, my answer was a little short, but you figured it out eventually :)

mupsi’s picture

Issue summary: View changes
Status: Active » Closed (outdated)