Images in IE always inserted at beginning of text

Permalink 2 0 Browser Info Environment
When we try to insert an image in the wysiwyg editor at the current cursor position, the image is always placed at the beginning of the content and not at the cursor position.

This only happens in IE not in FF.
Status: New
Webcreatives
View Replies:
dimunation replied on at Permalink Reply
A workaround for IE:

Modify /concrete/blocks/content/editor_init.php, and modify the setBookMark function on line 12 to read as follows:

setBookMark = function () {
   tinyMCE.activeEditor.focus();
   bm = tinyMCE.activeEditor.selection.getBookmark();
}


That one line of code fixed both the Insert Image and Insert Link functions in IE.
andrew replied on at Permalink Reply
andrew
Fantastic. Somewhere along the way our IE fixes for TinyMCE doing this stopped working. This looks like it will fix it.

concrete5 Environment Information

# concrete5 Version
5.4.0.5

# concrete5 Packages
Geen

# concrete5 Overrides
blocks/login, blocks/tony_next_previous, blocks/get_directions, blocks/twitter, blocks/travisn_spacer, languages/nl_NL, themes/haarlemzuid

# Server Software
Apache/2

# Server API
cgi-fcgi

# PHP Version
5.2.12

# PHP Extensions
bcmath, calendar, cgi-fcgi, ctype, curl, date, dom, filter, ftp, gd, gettext, hash, iconv, ionCube Loader, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, Zend Optimizer, zip, zlib.

# PHP Settings
log_errors_max_len - 1024
max_execution_time - 30
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 8M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729)