Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6930213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:25:05+00:00 2026-05-27T11:25:05+00:00

I am using the jQuery TinyMCE control in my .Net Web Forms application. I

  • 0

I am using the jQuery TinyMCE control in my .Net Web Forms application.
I primarily use it with AJAX and webservices however in one instance I have to let it post to the server as a part of the form.

For almost all input it works fine with

$('#<%= eText.ClientID %>').tinymce({
    encoding: 'xml'
});

However the moment I try to save a single quote ' I get the unsafe input error.

What can I do to handle this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:25:06+00:00Added an answer on May 27, 2026 at 11:25 am

    Oi, just when you give up and ask a SO question you find the answer on google.
    I’m probably going to need this later so I’m going to leave this here.

    Thanks to OP on this blog.
    http://blog.tentaclesoftware.com/archive/2010/07/22/96.aspx#414

    tinyMCE.init({
        // ...
        setup: function (ed) {
            ed.onSaveContent.add(function (ed, o) {
                o.content = o.content.replace(/&#39/g, "&apos");
            });
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using jQuery to post data from TinyMCE Rich text editor to asp.net
I'm using the Edit-in-Place JQuery plugin, JEditable: http://www.appelsiini.net/projects/jeditable . I would like to use
Using jQuery and using the ajax function, what causes it to use the error
I am using the jQuery plugin from the jQuery build of TinyMCE. This simplified
using jquery v1.3.2 and jQuery UI 1.7.1 I have 1 tab control with 3
Right now I am using the TinyMCE wysiwyg editor within my projects. However there
I am using jquery validate and the jquery version of tinymce. I found this
I am using jquery 1.3.2 and asp.net mvc 1.0. Originally I was using some
I have an asp.net web page that has a TinyMCE box. Users can format
I'm using tinymce jquery plugin and trying to access the api after initializing an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.