EasyUI Forum
September 19, 2021, 10:35:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: extension texteditor position inside a window  (Read 58 times)
fgendorf
Newbie
*
Posts: 24


View Profile Email
« on: September 13, 2021, 10:37:02 AM »

Hi, when I try use the extension texteditor inside a window in latest version o jeasyui (1.9.15) the texteditor become out of position I placed.

I tested with version 1.8.8 and there it works.

Thank you
Logged
jarry
Administrator
Hero Member
*****
Posts: 2003


View Profile Email
« Reply #1 on: September 14, 2021, 06:55:31 AM »

Please refer to this code. It works fine.
Code:
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>TextEditor - jQuery EasyUI</title>
    <link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="https://www.jeasyui.com/easyui/texteditor/texteditor.css">
    <script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="https://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="https://www.jeasyui.com/easyui/texteditor/jquery.texteditor.js"></script>
</head>
<body>

    <div class="easyui-window" style="width:600px;height:400px">
        <div id="td" class="easyui-texteditor" title="TextEditor" fit="true">
            <h3 style="text-align:center">TextEditor</h3>
            <p style="text-align:center">TextEditor is a lightweight html5 editor based on EasyUI. It is completely customizable to fit your needs.</p>
        </div>
    </div>

</body>
</html>
Logged
fgendorf
Newbie
*
Posts: 24


View Profile Email
« Reply #2 on: September 14, 2021, 07:18:07 AM »

Thank you Jarry, fit:true save the day!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!