Nathan Gray
f65680a7ae
Add CSS to better match egw. Fix chosen sizes using new width attribute. Not perfect, but at least never too small.
2013-07-25 20:28:32 +00:00
Ralf Becker
792f1b26cc
replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document
2013-07-17 12:47:21 +00:00
Klaus Leithoff
4ac1cd196c
* API: introduce optional parameter to pass java script to be executed after CKEDITOR instance ready
2013-04-08 12:48:45 +00:00
Klaus Leithoff
16a1970cca
add egw.LAB.wait to tree creation, as dhtmlxtree object may not be loaded on time
2013-04-02 13:36:58 +00:00
Klaus Leithoff
07f21d1291
make sure CKEDITOR is loaded, using egw.LAB.wait
2013-04-02 12:13:27 +00:00
Nathan Gray
ef2a5d377d
Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors
2013-04-01 19:14:52 +00:00
Klaus Leithoff
77c15b226c
* API/CKEditor: allow more space for html-editable area (by setting smaller margin)
2013-03-21 11:06:51 +00:00
Klaus Leithoff
a3ef1985ec
switch to CKEditor4
2013-03-14 16:30:55 +00:00
Klaus Leithoff
203316af08
improve focus management by forcing carent in all browsers to be placed at the start of the loaded document
2013-03-08 13:14:14 +00:00
Klaus Leithoff
a2e75c3ca4
further work regarding the editor focus
2013-03-06 09:17:21 +00:00
Klaus Leithoff
2b27946d6f
* eMail/api: attempt to fix the focus on body issue with FF; thanks to CKEditor support
2013-03-04 11:50:17 +00:00
Klaus Leithoff
2315944590
preset font span, omit empty style elements completely
2013-02-22 09:27:35 +00:00
Ralf Becker
0c11206d91
change default font unit for new installs to "pt" and fixed not set font-size in email
2013-02-21 13:19:15 +00:00
Ralf Becker
f158a8c5d2
* Preferences/all apps: allow to specify font size unit of richtext editor: either "px" display pixels or "pt" as used in word processing
2013-02-21 11:32:46 +00:00
Nathan Gray
c067e2ccb7
Do the check in a way that matches correctly for all
2012-12-11 15:31:35 +00:00
Nathan Gray
cf5269f6d1
Check for empty user font preference span, and remove it so empty checks still work
2012-12-10 23:10:58 +00:00
Nathan Gray
cbb88e22cb
Remove other places trying to set default ckEditor toolbar mode - using common preference
2012-12-05 20:22:13 +00:00
Nathan Gray
85c15e42fd
Use preference for ckEditor features by default
2012-12-05 19:58:37 +00:00
Nathan Gray
3ee18797b0
Rework common preferences
...
- Better grouping
- Added preferences for rich text editor
- Font
- Font size
Take effect on new, blank editors. Existing data is untouched.
2012-12-04 22:21:59 +00:00
Nathan Gray
8b55a21206
More changes to use chosen for fancy selectboxes - apply to egw multi-select and select user too
2012-11-13 22:14:00 +00:00
Nathan Gray
f72a582532
Use chosen plugin for to get fancy selectboxes. Selectboxes with more than 12 options get it turned on automatically
2012-11-12 19:29:23 +00:00
Klaus Leithoff
c888134a04
* email: fix for ->no initial border on plaintext editor textarea<-
2012-08-15 14:55:02 +00:00
Ralf Becker
3459a34a9f
limit IE hack (no attachment in Content-disposition header) to IE < 9
2012-07-03 09:33:26 +00:00
Ralf Becker
0c6d80d778
* API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history
2012-06-01 13:13:06 +00:00
Klaus Leithoff
2509d7783f
attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step
2012-05-25 12:23:11 +00:00
Ralf Becker
18e2ba28fc
* most apps: fixed rich-text editor to allow to enter < and > eg. html markup in regular input mode (not source)
2012-04-11 14:52:08 +00:00
Ralf Becker
3e4ef81080
load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip)
2012-04-04 13:05:58 +00:00
Klaus Leithoff
e05db77a24
add a function to create a HTML-Purifier config to clean up HTML
2012-01-16 08:31:16 +00:00
Klaus Leithoff
904917af86
API/tree: do not check parent treenodes if not expizitly selected
2012-01-09 14:45:24 +00:00
Klaus Leithoff
e0853e2bd2
check availaility of htmlarea before opening compose as html or html mails as html for reply; implement check based on http_user_agent for user agent known to be not compliant with ckeditor (android); allow class attribute for div, blockquote, a and img
2011-10-31 10:28:30 +00:00
Klaus Leithoff
4effb9931e
fix problem with double encoding html special chars (introduced with rev36141)
2011-08-26 08:21:04 +00:00
Ralf Becker
697a113171
url need to run throught htmlspecialchars too (like every attribute in html markup), eg. "x®_id=" fails otherwise
2011-08-16 11:44:33 +00:00
Hans-Jürgen Tappe
b176cb9256
- Allow sitemgr blocks to be moved between pages, categories and websitewide
...
(previously only moving from a page up to the cat, then up globally was
possible).
- Allow options within a select to be formatted through the standard
html::select_option() function
2011-08-15 16:25:08 +00:00
Ralf Becker
4f60da9af5
differenciate in our serverside user-agent detection between Chrome and Safari, and disable html5 form validation for float, as Chrome 12 rejects float values with comma as decimal separator
2011-07-07 11:50:06 +00:00
Ralf Becker
3f6fcf60d2
support for some html5 form features, if browser supports it
2011-06-30 15:19:08 +00:00
Ralf Becker
f8d2bd1e6b
- introduced preference of type "color"
...
- modernized color picker a litle to give a visual feedback of the color
2011-06-04 09:30:46 +00:00
Ralf Becker
c5e6b56503
missed UA check was caseinsensitiv
2011-06-03 09:09:25 +00:00
Ralf Becker
17fa23843c
reworked mobil browser detection to use html::$ua_mobile to be in line with other html class stuff
2011-06-03 07:47:11 +00:00
Andreas Stöckel
a4730b3511
Added mobile browser detection function
2011-06-02 22:52:12 +00:00
Ralf Becker
61c0b251c3
* IE9: enable IE dropdown menu hack only for IE<9, as it stalls IE9 www.stylite.de bug #1722
2011-05-31 07:55:51 +00:00
Ralf Becker
019ec56408
get new ajax canned responses working with multiline responses
2011-03-30 11:40:14 +00:00
Ralf Becker
3851389fdc
param for html::tree() to enable drag-n-drop (can not be done later, if autoloading is used!)
2010-12-28 02:59:03 +00:00
Ralf Becker
515e84b96c
hopefully last attempt to get correct handling of '0', 0 and '' (first should be treated equal, last not)
2010-12-20 20:57:35 +00:00
Ralf Becker
d6141a6d18
fixed in handling of 0 as value in checkbox_multiselect (was always selected before)
2010-12-19 21:54:37 +00:00
Klaus Leithoff
b0a6d6e40c
adding sub and superscript to purifier config
2010-12-14 14:57:02 +00:00
Klaus Leithoff
b55bb74988
doubleencoding issue and performance issue regarding the use of html::htmlspecialchars
2010-10-20 13:16:21 +00:00
Ralf Becker
1e1df2fe2c
setting overflow: auto after constructor call, as new dhtmlXTree has hidden hardcoded
2010-10-18 12:19:38 +00:00
Ralf Becker
a6c1f34be7
allow to autoload and/or supply initial tree via json
2010-10-15 16:19:31 +00:00
Klaus Leithoff
a2919ecd3b
improve convertHTMLToText, for toggle editor and mail2infolog process; better control of insert Signature at Top. Only insert the signature, when the compose window is opened the first time (compose/reply/forward), dont do it if sending failes, and the compose window is refreshed (in general when mySigID is set)
2010-08-31 14:23:58 +00:00
Andreas Stöckel
da54059fd1
Fixed problem with toolbar not being expanded and removed bottom breadcrumb bar
2010-07-21 11:45:05 +00:00