jQWidgets Forums
jQuery UI Widgets › Forums › Editors › Editor › pasteMode problem
This topic contains 4 replies, has 2 voices, and was last updated by mcseller 10 years, 8 months ago.
-
AuthorpasteMode problem Posts
-
Hi,
jqxeditor running on a DIV (not textarea) with pasteMode property setted to “text” on IE 11 (not in compatibility mode) doesn’t allow me to paste DIV but I can write delete and change.
I tested with Chrome and it’s ok.
Can you help me?
Thanks
Java script code:
<script type="text/javascript"> $(document).ready(function (){ $("#xxxEditor").jqxEditor({ theme: "fresh", tools: "", pasteMode: "text" }); }); </script>
HTML code:
<DIV> <DIV STYLE="height: 560px; border: none;" ID="xxxEditor" contenteditable="true"></DIV> </DIV>
Hello mcseller,
Please, take out the
contenteditable="true"
property and check if it will allows you to paste some text.Best Regards,
NadezhdajQWidgets team
http://www.jqwidgets.com/Hello Nadezhda,
thanks for your help. I removed “contenteditable” from div and now I can paste but I have got a short white textarea and a grey div rear with the right height.
Hi mcseller,
Please, find below an example which shows jqxEditor without tool buttons.
<!DOCTYPE html> <html lang="en"> <head> <title></title> <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" /> <script type="text/javascript" src="../../scripts/jquery-1.11.1.min.js"></script> <script type="text/javascript" src="../../scripts/demos.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxscrollbar.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxlistbox.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxdropdownlist.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxdropdownbutton.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcolorpicker.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxwindow.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxeditor.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxtooltip.js"></script> <script type="text/javascript" src="../../jqwidgets/jqxcheckbox.js"></script> <script type="text/javascript"> $(document).ready(function () { $('#xxxEditor').jqxEditor({ height: "560px", width: '800px', theme: "fresh", tools: "", pasteMode: "text" }); }); </script> </head> <body> <div> <div id="xxxEditor"></div> </div> </body> </html>
Best Regards,
NadezhdajQWidgets team
http://www.jqwidgets.com/Ok,
I’m going to try!
Thanks!
-
AuthorPosts
You must be logged in to reply to this topic.