Commit Graph

21 Commits

Author SHA1 Message Date
Hadi Nategh
cce240fa5b Implement resize function for htmlarea widget in order to cordinate htmlNode's height to window size 2015-02-03 11:11:02 +00:00
Ralf Becker
5bed0cdf77 fix not working dragging images into CKEditor of mail compose in FireFox 2014-11-27 13:44:50 +00:00
Nathan Gray
7eb528ee1f Instead of replacing a dropped image with an error image, we'll remove it, and pass the image to the first et2_file widget with a drop target. That's not ideal, but it should work for us in most cases until CKEditor fully supports drag and drop.
(Firefox only)
2014-07-07 20:48:35 +00:00
Nathan Gray
9ed54eb3fd Drag & drop images don't work because of DB field sizes, so replace dropped images with error image so user knows right away it won't work. 2014-07-02 20:50:39 +00:00
Nathan Gray
26f1e351f3 Apply missing font & size preferences 2014-06-30 21:28:03 +00:00
Nathan Gray
8ca9f9a469 Store internal reference to CKEDITOR instance, fixes Uncaught TypeError: Cannot read property 'on' of undefined 2014-04-07 22:20:30 +00:00
Ralf Becker
bd7980f0e8 new attribute type "html", which is NOT run through (tags removing) html_entity_decode, used for value in et2_html(area) 2014-02-14 10:14:28 +00:00
Ralf Becker
1dd3ad5e0a fixed ckeditor wont start with NOT expanded toolbar 2013-11-04 10:13:28 +00:00
Nathan Gray
9fe3bda432 - Don't try to translate config
- Better error message if destroying CKEDITOR fails
- Handle failing destroy, and make sure widget is completely removed
2013-10-10 11:57:18 +00:00
Ralf Becker
d8984be747 isDirty() method for whole template / etemplate2 object, thought it needs more work in widgets, not setting this._oldValue in their set_value() method 2013-08-23 15:15:30 +00:00
Ralf Becker
f4e1db3a68 fixed htmlarea not returning any content caused by prefixed DOM id, now all DOMwidgets have their DOM id available via this.dom_id set via this.set_id() 2013-08-23 14:10:37 +00:00
Nathan Gray
7142d632a5 Implement htmlarea ascii mode 2013-06-26 19:34:14 +00:00
Nathan Gray
94793b7808 Silence some warnings by providing info 2013-06-17 21:22:32 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Klaus Leithoff
09f00a31a5 fix ckeditor area 2013-04-09 11:50:14 +00:00
Nathan Gray
c55e636f43 Catch error from missing ckeditor stuff so it doesn't break everything else 2013-03-26 15:54:18 +00:00
Nathan Gray
0c017a4b35 Don't error if ckeditor adapter is missing, just fall back to text 2013-03-25 22:22:53 +00:00
Nathan Gray
a140cd1f25 Make htmlarea more fault tolerant so it doesn't block the rest of the page if something happens 2013-03-20 20:45:43 +00:00
Klaus Leithoff
d4d2096a39 handle/fix missed ckeditor3 calls 2013-03-15 11:50:48 +00:00
Nathan Gray
19991fe899 I guess jQuery adapter doesn't work quite yet, fix get/set_value() 2012-06-12 20:50:45 +00:00
Nathan Gray
1f2ee8faf2 Add ckeditor as htmlarea widget 2012-06-06 04:13:19 +00:00