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

  • SEARCH
  • Home
  • 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 7984569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:18:59+00:00 2026-06-04T11:18:59+00:00

I can’t find any relevant information about contenteditable HTML5 parameter. I’ve found out, that

  • 0

I can’t find any relevant information about “contenteditable” HTML5 parameter. I’ve found out, that Google Plus is using this for Chrome browsers:

<div contenteditable="plaintext-only"></div>

It seems that no other browsers support this and it’s only Chrome proprietary value. I want to use it in my project. However, I need to detect the browser and find out if supports “plaintext-only” setting.

Of course, I could detect only Chrome, but there might be other browsers that support it (I don’t know about any at this moment) or other main stream browsers might start supporting this feature in future.

So I would rather detect if the “plaintext-only” functionality is supported than detecting just Chrome browser.

Anyone can help me on 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-06-04T11:19:02+00:00Added an answer on June 4, 2026 at 11:19 am

    It seems to be a webkit-only feature. The spec only allows “true”, “false” and “inherit” as possible values for the attribute

    A bug has been filed to add support for plaintext to the editing spec, but it’s funny that the request is for “plaintext” instead of “plaintext-only”.

    Edit:
    This code can be used to detect the support. Demo:

    function supportsPlainText()
    {
        var d = document.createElement("div");
        try {
            d.contentEditable="PLAINtext-onLY";
        } catch(e) {
            return false;
        }
        return d.contentEditable=="plaintext-only";
    }
    
    alert(supportsPlainText());
    

    But remember that doing browser-specific pages it’s what leaded us to the IE6 problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone help me trying to find out why this doesn't work. The brushes
Can somebody point me to a resource that explains how to go about having
Can anyone (maybe an XSL-fan?) help me find any advantages with handling presentation of
Can I figure out if a function has already been assigned to an event?
Can't figure out how to do this in a pretty way : I have
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
Can't work out a way to make an array of buttons in android. This
Can anyone help me with an excel formula that groups related rows and creates
Can i get the source code for a WAMP stack installer somewhere? Any help
Can a LINQ enabled app run on a machine that only has the .NET

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.