Hi all,
I have an issue which is baffling to me. On my 1.8.8 site members are unable to paste content in their posts. This used to work but I'm not sure what has happened. While in the editor when one copies from word, powerpoint or a formatted document and pastes it looks fine but once posted nothing shows. I copied a jpeg image from the Internet and was able to paste it and view it but a word document with formatting that includes graphs and tables will not display. I see some of the text but not the whole document and certainly no graphs and tables. Before, I had a blog post in which I pasted screen captures to illustrate my subject and it displayed well. I replaced tinyMCE with tinyMCE Extended 1.8 but the result is the same.
It's very frustrating. I don't see anything in the logs that will tell me what is happenning. The only things I did recently was to install Profile manager, roles and roles for profile manager plugins. To make upload users work I applied the patch to access.php in engine/lib.
Could any of these actions have cause this problems?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@Steve Clay which $htmlawed_config setting should be changed to allow images ? I tried changing this, which should allow img html elemements, but that does not work.
'elements' => '* -script -object',
I found it. Include this in the start.php of your theme or a plugin you use for changes in the core.
//Customize htmlawed
$htmlawed_config = array(
'comment'=> 1,
'deny_attribute' => 'class',
'elements' => '* -script -object',
'hook_tag' => 'htmlawed_tag_post_processor',
'schemes' => '*:http,https,ftp,news,mailto,rtsp,teamspeak,gopher,mms,callto,data',
);
The comment setting will remove annoying html comments. The default setting will display it as text.
I'll recommend this as a default core setting. Showing HTML comments in content as text is not usefull at all
Where can I find the 64K limit on text input for ELGG ?
it's a limitation of the database
Solutions
http://weborganizm.org/totemz/v/1292/elgg-dev#822
http://elgghacks.com/largest-texts-in-elgg/
How to remove
from html code?
Editing in allowed_styles don't work :(
Solved with http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=243
@ RvR Thanks, works like a charm ! I can now paste larger picture in TinyMCE
- Previous
- 1
- 2
- Next
You must log in to post replies.