Syntaxhighlighter with AC

avatar vid May 13. 2011. 6:43 pm
@Panagiotis K.
I don't know if you're interested but I put together a Readme.txt file (attached) that you could include in the next package release.

Take a look and see if I missed anything or included outdated information.
avatar Panagiotis K. Dev May 14. 2011. 7:08 pm
Hello Vid,

I'm glad you like the module :)

Thanks letting me know for new location of brushes.

There are lot of things that can be improved on the add-on but I will work on it once AC3 will come out :)

Cheers
Aviant™ | Zend PHP 5 Certified Engineer
PHP Development / Symfony 2 / Zend Framework / JavaScript / HTML5 / CSS3
Online CV: panosru.com
avatar Panagiotis K. Dev May 14. 2011. 7:10 pm
Thanks for the txt Vid, people who use syntax highlight module will find it very useful! :)
Aviant™ | Zend PHP 5 Certified Engineer
PHP Development / Symfony 2 / Zend Framework / JavaScript / HTML5 / CSS3
Online CV: panosru.com
avatar akarmach Pro Oct 21. 2011. 11:37 am
Thank you to all for your hard work on this!

I have it installed and working, but not sure if there is a fix for pasting HTML code.

As discussed in this thread, if I paste "clean", AC strips out all the HTML tags. If I paste in editor, all the code is one huge line: http://www.screencast.com/t/N96nKIl9W

Any suggestions?

Thanks!
Abdul
avatar Panagiotis K. Dev Oct 21. 2011. 11:48 am
Hello Abdul,

Indeed pasting HTML in there is a bit tricky, try to copy the html form your notepad so that when you copy the code you won't copy any style from the editor you copy it from.

If you use clean paste from tinymce it will strip out all your html tags so yes it is worthless, I'm not sure about the word-paste button thought but I guess there isn't any straight forward way for it...

Let me know if you end up on something :)
Aviant™ | Zend PHP 5 Certified Engineer
PHP Development / Symfony 2 / Zend Framework / JavaScript / HTML5 / CSS3
Online CV: panosru.com
avatar akarmach Pro Oct 21. 2011. 1:21 pm
Thanks for the speedy response!

I did find a workaround though. If the [syh] code and HTML are all within the same preformatted block, it works.

A strange note though.. you must type something in the preformatted box BEFORE pasting your HTML or else it will be pasted as multiple preformatted blocks- no idea why, but I was able to reproduce this several times.

If you do it just like this, it'll work: http://screencast.com/t/i4Yf6pPOmb

Cheers,

Abdul
avatar Panagiotis K. Dev Oct 21. 2011. 3:42 pm
Hello Abdul,

Glad you found the solution, this is actually the default way to do it I though you done it like that by default :)
Aviant™ | Zend PHP 5 Certified Engineer
PHP Development / Symfony 2 / Zend Framework / JavaScript / HTML5 / CSS3
Online CV: panosru.com

Try activeCollab free for 30 days, No credit card required!

Instant access to activeCollab, no installation needed.

.tryactivecollab.com

If you are already a user of activeCollab, you can log in here.