locked
placeholders in FCKEditor RRS feed

  • Question

  • User2003671436 posted

    Hi,


    im using FCKEditor 2.6.3 version for ASP.NET. I want to know is there any built-in way to put placeholders through fckEditor

    e.g.

    Dear <%UserName&>

    I would like to inform you ......

    Thanks


    so at runtime, i can replace the placeholder with the actual name of the user and send an email..

    Any suggestions appreciated

    thanks .

    Thursday, March 25, 2010 5:01 AM

All replies

  • User-423124851 posted

    I think it is not possible.

    Thursday, March 25, 2010 5:54 AM
  • User2130758966 posted

    Hey,

    You should be able to do this but it would be more of a fckEditor / javascript issue than an asp.net one.

    There are quite a few tutorials out there for implementing custom buttons. You could create a button to insert the placeholder...

    Thursday, March 25, 2010 6:28 AM
  • User2003671436 posted

    It is possilbe through plugins (adding a placeholder button in the toolbar:).. exploring them at the moment, would tell you how i did it. :P..


    thanks anyways..

    Thursday, March 25, 2010 6:29 AM
  • User2003671436 posted

    Yup Harry thats the way..


    Thursday, March 25, 2010 6:30 AM
  • User2003671436 posted

    Hey Guys I implemented it.. its just simple steps

    http://www.blog.valenticabd.com/2008/11/25/creating-custom-fckeditor-combo-plugin.html



    Thursday, March 25, 2010 6:55 AM
  • User2130758966 posted

    Good tutorial.

    I have a backburner feature that I would like to implement one day that is something like this but I dont think its the exact solution to my problem.

    I want to be able to implement a cms for a product page which allows prices and other database variables to be inserted. I could do it with this tutorial but from the looks of it the text is inserted and then the user can change it, such as changing March to Marbrokench? Is this how it works?

    I would prefer to be able to drop in something that was like an image or an object that cannot be broken by a mistyped character.


    Oh well, glad you solved your problem!

    Thursday, March 25, 2010 7:32 AM
  • User-319574463 posted

    For further help with the CKEditor (previously known as the FCKEditor), please ask at:

    Wednesday, April 7, 2010 4:22 AM