BB-Code-Button for Code-Block (Features)
Hi Auge,
I think, your solution is a bit overcomplicated. Some people would miss the PopUp (blocked or a missed new tab instead a PopUp)
I think, a blocker-software do not block this popup because it is not a undesirable window.
The whole code is only usable with enabled JavaScript. But in this case you can create a new box inside the document instead to open a new window. In this box the user selects only the language for the code-BB-code and that's it.
Like the colorpicker? Yes, that's possible but, in my discretion, it is not a better solution because the php-script has to read the geshi-directory permanent. At the moment, the directory will only be read, if the list of languages are required. Isn't it the better way?
best regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences