Hi,
I would like to make some elements readonly in my editor. And I also know that are two element attributes for FCK which should allow me that:
contentEditable = true/false AND
contentDeleteable = true/false
So the default value should look like this:
<h1 contentEditable="false" contentDeleteable="false">fixed headline #1</h1>
<p>editable #1 content goes here</p>
<h1 contentEditable="false" contentDeleteable="false">fixed headline #2</h1>
<p>editable content #2 goes here</p>
But FCK converts the attributes to lowercase ... contentediable="false" ... and so it doesn't work.
So my questions are?
- How to stop FCK from converting the attributes to lowercase?
- Is there maybe a better way?
- Is there a way to change the two attribute name into a single one e.g. content_fixed="true"
Many thanks in advance
tsc
I would like to make some elements readonly in my editor. And I also know that are two element attributes for FCK which should allow me that:
contentEditable = true/false AND
contentDeleteable = true/false
So the default value should look like this:
<h1 contentEditable="false" contentDeleteable="false">fixed headline #1</h1>
<p>editable #1 content goes here</p>
<h1 contentEditable="false" contentDeleteable="false">fixed headline #2</h1>
<p>editable content #2 goes here</p>
But FCK converts the attributes to lowercase ... contentediable="false" ... and so it doesn't work.
So my questions are?
- How to stop FCK from converting the attributes to lowercase?
- Is there maybe a better way?
- Is there a way to change the two attribute name into a single one e.g. content_fixed="true"
Many thanks in advance
tsc
RE: Readonly Elements