#1067 closed defect (fixed)
Positioning of the color selection pallet, invoked from EDITOR toolbar,when "Editor" is placed in the lower part of the scrollable page
Reported by: | Owned by: | liucougar | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.2 |
Keywords: | Editor, ColorPallet, positioning | Cc: | |
Blocked By: | Blocking: |
Description
The problem is with the Editor widget. The problem exists when we have a very long page(with scrollbars) and the Editor widget is placed in the lower portion of the page. i.e you have to scroll down to reach the Editor. When i select the Color pallet, from such an Editor, the the color pallet always appears at the top of the page. and not where the Editor is positioned.
Following is a piece of dummy code, which shows this problem.
<!DOCTYPE HTML PUBLIC "-W3CDTD HTML 4.01EN"
<html> <head>
<title>Editor Widget Demo</title>
<script type="text/javascript" src="../javascript/dojo.js"></script> <script>
dojo.require("dojo.widget.Editor");
</script>
<style>
body {
font-family: Arial, Helvetica, sans-serif; padding: 0; margin: 0;
}
.page {
padding: 10px 10px 10px 10px;
}
</style>
</head> <body>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <div dojoType="Editor" items="formatblock;|;insertunorderedlist;insertorderedlist;|;bold;italic;underline;strikethrough;|;createLink;forecolor;">
<p>One interesting feature of the editor is that the sizusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the edite adjusts based on how much text there is, so the only scrollbar ever shown is the browser's scrollbar. (Or the scrollbar for whatever container is holding the editor.)</p>
</div>
</body> </html>
Attachments (1)
Change History (4)
Changed 15 years ago by
Attachment: | Editor.html added |
---|
comment:1 Changed 15 years ago by
Milestone: | → 0.4 |
---|---|
Owner: | changed from anonymous to liucougar |
Liucougar will probably fix this (for Editor2, not Editor)
The Editors, color pallet positioning problem, example.