New topic: Using MBS to trigger JS events for CKEditor in HTMLViewer...
<http://forums.realsoftware.com/viewtopic.php?t=33300> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message gberz3 Post subject: Using MBS to trigger JS events for CKEditor in HTMLViewer...Posted: Wed Apr 07, 2010 5:46 pm Joined: Sun Jun 24, 2007 1:40 pm Posts: 437 Hi All, This post is actually a slightly off-topic branch of my post here: viewtopic.php?f=1&t=33299&start=0 Basically, due to the nature of that problem, I'm looking for a way to trigger javascript events dynamically using CKEditor API. Currently I'm using "execCommand" to trigger items such as BOLD, ITALIC, UNDERLINE, etc. However applied styles are a bit more tricky and don't seem to have associated "commands". That said, is anyone sufficiently familiar with CKEditor (and its API) to provide a mechanism by which to trigger appropriate javascript commands that cause formatting? I've seen the style guide and know how to add styles if I were going to use the native controls. However, due to the nature of the aforementioned problem, I'm using RB controls to trigger the js. FYI, I'm using MBS plugins to execute javascript so that portion isn't a problem. I just need the appropriate javascript as it pertains to the CKEditor API. For the record, I'm looking to do things like change font, increase size, change color, etc. Best. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
