I’m searching for a (simple ?) way to temporary disable my MooEditable block.
Using a reset.css, which put down some basic inline tag like <strong>, I would like to keep the MooEditable iframe style, without any possibility to edit the content (like a <textarea disabled="disabled">.
Not sure to be enought clear.
Finally, I found a solution, looking in the deepest files of MooEditable.
For people who maybee want this solution : MooEditable accepts options, then here’s your calls :
You must modify a little bit of code, in the
attachfunction :You can also (recommended) make the ui-toolbar hidden, adding a
hiddenclass to :With of course the corresponding CSS :