Hello all,
we need to enter i.e. following into CKEditor:
The $$[myownfunction...]$$ will result in a mysql_db lookup and will return some rows in format:
But if if enter the code above, the CKEditor changes it into
How can we disable this behaviour?
we need to enter i.e. following into CKEditor:
<table cellspacing="0" cellpadding="0" border="0" style="width:100%;"> <tbody> <tr><td style="background-color:silver;">Header first Row</td></tr> $$[myownfunction|withparameters_results_some rows to this table]$$ </tbody> </table>
The $$[myownfunction...]$$ will result in a mysql_db lookup and will return some rows in format:
<tr><td>SomeFieldData</td></tr>
But if if enter the code above, the CKEditor changes it into
$$[myownfunction|withparameters_results_some rows to this table]$$ <table cellspacing="0" cellpadding="0" border="0" style="width:100%;"> <tbody> <tr><td style="background-color:silver;">Header first Row</td></tr> </tbody> </table>
How can we disable this behaviour?
Re: Allow special commands within html
See the config.protectedSource option.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: Allow special commands within html
$$[myfunction|..........]$$
if i use
config.protectedSource.push('\$\$\[(.*)\]\$\$');
its not working.
Regards,
Re: Allow special commands within html
Maybe:
Re: Allow special commands within html
Working perfect, thanks a lot ...
Re: Allow special commands within html
yeah it's good solution, but last time i think about it, there seems to be some mistake, we must solve it within html, not in .htaccess.