Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Lachlann 344 posts 626 karma points
    Apr 17, 2011 @ 17:25
    Lachlann
    0

    rich text editr breaks form?

    Hi there,

     

    I have installed your package on an instance of umbraco v 4.5.2 (Assembly version: 1.0.3891.20719)

    The install seems ot have worked fine but when i render a form with a rich text editor it breaks.

    what seems to happen is that the feilds are output untill a rich text editor is reached and then the form stops outputting. I have read thorugh the documentation and couldnt see anything that I may have done to cause this?

    Will this package work with RTE?

     

    Many thanks

     

    L

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Apr 17, 2011 @ 18:03
    Casey Neehouse
    0

    Unfortunately, no, the RTE will not work. It relies on the umbraco Toolbar, which is not present in Doc2Form. You can create a custom RTE that can work, with the toolbar automatically rendered as tinyMCE would by default.

  • Lachlann 344 posts 626 karma points
    Apr 17, 2011 @ 22:22
    Lachlann
    0

    Hi Casey,

     

    Thanks for your reply, I was worried that would be the case :) do you know any info that might point me in the right direction for adding the TinyMCS RTE into a front end control?

     

    thanks again

     

    L

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Apr 18, 2011 @ 03:44
    Casey Neehouse
    0

    You can create a custom data type that is tinyMCE but implements the toolbar as a standard toolbar.  

    Simplest way is to wire up a tinyMCE or other RTE in a User Control and use Umbraco's User Control Wrapper Data Type.

     

  • Yannick Smits 321 posts 718 karma points
    Apr 20, 2011 @ 15:01
  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Apr 20, 2011 @ 17:09
    Casey Neehouse
    0

    The way Doc2Form works is to only render the built in controls inside of some structured markup.  I don't do anything special with the controls, as I really can't.  A few different controls tend to be problematic as to the way they handle their setup.

    TinyMCE has a setting or two that rely on the umbraco User.  This User will not be available on the front end unless the user is logged in (which they won't be for an end user).

    Casey

     

  • Yannick Smits 321 posts 718 karma points
    Apr 21, 2011 @ 13:17
    Yannick Smits
    0

    Just did submited a bugfix via a pull request. Hope it will be added to 4.7.1 otherwise I can send you the corrected dll if that helps.

  • Jed 55 posts 80 karma points
    May 17, 2011 @ 10:52
    Jed
    0

    > I can send you the corrected dll if that helps

    Please do. I am having this problem with 4.6.1, and hopefully your fixed dll will help me - how do I go about getting hold of it?

  • Yannick Smits 321 posts 718 karma points
    May 17, 2011 @ 21:16
    Yannick Smits
    0

    I only did a build against the 4.7 code, don't think that dll will work with a 4.6.1 install.

Please Sign in or register to post replies

Write your reply to:

Draft