embed adding default preview text

Last post 02-26-2014, 8:17 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  02-20-2014, 10:44 AM 79956

    embed adding default preview text

    Hi

     

    When I add an embed to the page the editor adds "Default preview for : Embed". If I remove this text and switch between html and normal view the text re-appears.  Tested with chrome and IE11 on your demo page.

     

    To recreate:

    1: Goto http://www.richtexteditor.com/demo/

    2: Paste <embed id="wiggle"></embed> into html view.

    3: Switch to normal view and submit. 

     

    Can you stop this from appearing please. 

     
  •  02-21-2014, 8:15 AM 79962 in reply to 79956

    Re: embed adding default preview text

    Hi,

     

    1. Please open file"\richtexteditor\scripts\editor.js".

     

    2. Find section below and delete it. 

     

    element.innerHTML="Default preview for : "+provider.GetTitle();

     

    Regards,

     

    Ken 

  •  02-26-2014, 5:16 AM 79972 in reply to 79962

    Re: embed adding default preview text

    Will you be fixing this in future releases? So I don't have to keep changing the file?

     

    Thanks 

  •  02-26-2014, 8:17 AM 79977 in reply to 79972

    Re: embed adding default preview text

    Hi AndyFel,

     

    This is not a bug, this is by design. I will discuss it with the developer, so we can improve it in the future version.

     

    Regards,

     

    Ken 

View as RSS news feed in XML