Hellos,
I am using drupal 6 and fckeditor for textarea. When users submit applications, they paste directly from word. This pastes with tag like
"<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="ProgId" content="Word.Document"> <meta name="Generator" content="Microsoft Word 11"> <meta name="Originator" content="Microsoft Word 11"> <link rel="File-List" href="file:///C:\DOCUME~1\ENSP4_3\LOCALS~1\Temp\msohtml1\04\clip_filelist.xml" /><o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName" downloadurl="http://www.microsoft.com%22%3E</o:smarttagtype><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom>"
I want to configure fck editor to allow direct pasting from word without using "paste from word" window
I have also enabled "full html" for all input formats, but everytime I write somethin on the fckeditor, I get <p> and <br> tags at the end
It is a multiligual site.
On 19/04/10 10:43 +0300, Mutuku Ndeti wrote:
I want to configure fck editor to allow direct pasting from word without using "paste from word" window
If you use the wysiwyg framework module you can check "Force cleanup on standard paste": If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the "paste from word" plugin function.
regards Rolf
So do you mean I change to wysiwyg framework module?
On 4/19/10, Rolf Kutz rk@vzsze.de wrote:
On 19/04/10 10:43 +0300, Mutuku Ndeti wrote:
I want to configure fck editor to allow direct pasting from word without using "paste from word" window
If you use the wysiwyg framework module you can check "Force cleanup on standard paste": If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the "paste from word" plugin function.
regards Rolf -- ... But, conscience asks the question, 'Is it right?' ... -- [ Drupal support list | http://lists.drupal.org/ ]
Thank,
The Ms Word code has reduced.
But tags like the one below are still persistent
"<!--[if gte mso 9]>
Normal 0 21
false false false
MicrosoftInternetExplorer4
<![endif]--><!--[if gte mso 9]>
<![endif]--><!--[if !mso]> <![endif]--><!--[if gte mso 10]> <![endif]--> "
On 4/19/10, Mutuku Ndeti jnmutuku@gmail.com wrote:
So do you mean I change to wysiwyg framework module?
On 4/19/10, Rolf Kutz rk@vzsze.de wrote:
On 19/04/10 10:43 +0300, Mutuku Ndeti wrote:
I want to configure fck editor to allow direct pasting from word without using "paste from word" window
If you use the wysiwyg framework module you can check "Force cleanup on standard paste": If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the "paste from word" plugin function.
regards Rolf -- ... But, conscience asks the question, 'Is it right?' ... -- [ Drupal support list | http://lists.drupal.org/ ]
The wysiwyg framework however does not permit fckeditor to read its xml and js files from the theme folder...
unless someone knows how to make it do this?
I've checked the issues, and found a patch, except the patch is shunned and marked as "will not fix".
is this right? or will there be a way to read fckeditor files from the theme?
so far fckeditor seems like the best since it allows one to really add any button they want, and to fully customize the block-font, and style drop downs.
however if the files have to be changed in the library instead of in the theme, its a problem waiting to happen when some other dev updates the library without realizing that there was custom edited files... it also makes it impossible to have a multi-theme site.
Solutions, ideas?
S.
Mutuku Ndeti wrote:
Thank,
The Ms Word code has reduced.
But tags like the one below are still persistent
"<!--[if gte mso 9]>
Normal 0 21
false false false
MicrosoftInternetExplorer4
<![endif]--><!--[if gte mso 9]>
<![endif]--><!--[if !mso]> <![endif]--><!--[if gte mso 10]> <![endif]--> "
On 4/19/10, Mutuku Ndeti jnmutuku@gmail.com wrote:
So do you mean I change to wysiwyg framework module?
On 4/19/10, Rolf Kutz rk@vzsze.de wrote:
On 19/04/10 10:43 +0300, Mutuku Ndeti wrote:
I want to configure fck editor to allow direct pasting from word without using "paste from word" window
If you use the wysiwyg framework module you can check "Force cleanup on standard paste": If enabled, the default paste function (CTRL-V or SHIFT-INS) behaves like the "paste from word" plugin function.
regards Rolf -- ... But, conscience asks the question, 'Is it right?' ... -- [ Drupal support list | http://lists.drupal.org/ ]