Created
October 11, 2011 14:44
-
-
Save sameera207/1278275 to your computer and use it in GitHub Desktop.
patch for radiant-ck_editor_filter-extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:javascript | |
Event.observe(window,'load',function(){ | |
instantiateCkEditor('#{page_part.name.downcase}') | |
Event.addBehavior({ 'a.insert_asset': InsertIntoCk }) | |
}) | |
Event.observe($('part_#{page_part.name.downcase}_filter_id'),'change',function(){ toggleEditor('#{page_part.name.downcase}') }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the patch for pages folder