Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Revolution
  • Revo Release Support
  • Revolution 2.0
  •  
  • TinyMCE on introtext field?#

  • 21872
    95

    nsfdev Reply #1, 1 year, 2 months ago

    Reply
    • Link to this post#1
    Can anyone point me in the right direction for this? Is there a simple way to get the existing plugin to recognize this field as richtext?


  • 6228
    242
    lo9on.com

    MODx Evolution/Revolution | Remote Desktop Training | Development

    cyclissmo Reply #2, 1 year, 2 months ago

    Reply
    • Link to this post#2
    Whether Revo or Evo, it **might** be possible, but I'm almost certain it would be a formidable undertaking.

    Why not just hide the introtext field, and create a richtext TV replacement for it?

    If you're crafty, you might even be able to write a plugin that injects the richtext TV directly within the document properties fields so it blends in nicely.


  • 3749
    11,683
    PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!

    MODx info for everyone: http://bobsguides.com/MODx.html

    BobRay Reply #3, 1 year, 2 months ago

    Reply
    • Link to this post#3
    I don't know where the Resource template is, but if you change its class to modx-richtext (and maybe the class of its <div>, if any), you might get TinyMCE there.


  • 21872
    95

    nsfdev Reply #4, 1 year, 2 months ago

    Reply
    • Link to this post#4
    I can't find it either, I think it is built entirely at runtime with ExtJS (not a fan). I think the "correct" way to do this would be a plugin, wouldn't it?


  • 3749
    11,683
    PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!

    MODx info for everyone: http://bobsguides.com/MODx.html

    BobRay Reply #5, 1 year, 2 months ago

    Reply
    • Link to this post#5
    Possibly. It might work to do a search and replace on the chunk content in a plugin connected to OnChunkFormPrerender.

    My wild guess at the code would be:

    $chunk = str_replace('modx-content', 'modx-richtext', $chunk;


  • 15216
    1

    kacperonek Reply #6, 1 year, 1 month ago

    Reply
    • Link to this post#6
    Create a new plugin:
    global $replace_richtexteditor;
    $replace_richtexteditor[] = "introtext";
    

    Activated on OnDocFormRender


  • 8872
    41

    encho Reply #7, 4 months, 3 weeks ago

    Reply
    • Link to this post#7
    Anyone tried this? Not working for me.





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
BobRay, cyclissmo, encho, kacperonek, nsfdev

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy