Open modxbot opened 13 years ago
wshawn submitted:
Parameters should remain consistent to industry standards. The Editor needs to allow white-listing so as to not touch anything located within the double brackets. Personally, I refuse to use any of those editors on a site, and clients that do are working only in areas where this is not an issue - namely the Resources.
everettg_99 created Redmine issue ID 5037
This is one that dates back to Evo, and it may already be on record, but one of the most frustrating things about using a WYSIWYG editor inside of MODx (e.g. TinyMCE) is that the MODx Snippet syntax is destroyed: the ampers-ands in particular are destroyed as soon as the editor is toggled.
It appears that at least now the Parser doesn't trip over the & to & conversion (???), but it might be better still if the Snippet parameters used a symbol that didn't get converted to an HTML entity, e.g. "$", as in:
Personally, I think the dollar sign is a good candidate because it reminds one that the parameters end up as PHP variables, but there are surely numerous other candidates (*, #, ^, :, ;, -, _). It might even be possible to omit a glyph altogether, e.g.
Sorry if this is a double-post.