Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change default Link type in editor
#15
You can define this before cke inits, js global linkdefault

Code:
<script type="text/javascript">
var linkdefault = 'url';
</script>

You can also write your own ondialogdefinition
content.setup = function(data) {}

To override the one core loads

but you probably cannot modify it with jquery since that code gets instantiated every time a dialog opens

But this is tied to all ckeditor instances, it gets to be a pain if you need to modify individual ckeditors.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
Change default Link type in editor - by Carlos - 2012-01-09, 05:18:00
RE: Change default Link type in editor - by shawn_a - 2014-11-04, 05:40:02
Change default Link type in editor - by Connie - 2012-01-09, 07:24:01
Change default Link type in editor - by Connie - 2012-01-09, 22:31:38
Change default Link type in editor - by Carlos - 2012-01-10, 04:50:33
Change default Link type in editor - by ChriS - 2012-03-17, 07:38:35
Change default Link type in editor - by Carlos - 2012-03-17, 08:56:42



Users browsing this thread: 1 Guest(s)