I am trying to make some text readonly using in-line CSS. Both these methods work fine when testing using a standard html page.
Firefox syntax:
<div style="-moz-user-select: none;">Some text</div>
Chrome Syntax:
<div style="-webkit-user-select: none;">Some text</div>
However, I am trying to use this syntax in a text editor used within a CMS product. It works fine for firefox but not Chrome. I have also tried using the most basic approach which also does not work:
<div style="user-select: none;">Some text</div>
My question is, is there any other way of using in-line CSS (or HTML) to disable a block of text. Because we are using a free text editor we cant use any HTML input types.