Skip to content

Commit

Permalink
revert(pg)
Browse files Browse the repository at this point in the history
  • Loading branch information
marker dao ® committed Oct 10, 2024
1 parent 78de273 commit 096b05d
Showing 1 changed file with 10 additions and 37 deletions.
47 changes: 10 additions & 37 deletions packages/devextreme/playground/jquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@

<script type="text/javascript" src="../artifacts/js/jquery.js"></script>
<!-- HtmlEditor -->
<script type="text/javascript" src="../artifacts/js/dx-quill.min.js"></script>
<!-- <script type="text/javascript" src="../artifacts/js/dx-quill.min.js"></script> -->

<script type="text/javascript" src="../artifacts/js/cldr.js"></script>
<!--<script type="text/javascript" src="../artifacts/js/cldr.js"></script>
<script type="text/javascript" src="../artifacts/js/cldr/event.js"></script>
<script type="text/javascript" src="../artifacts/js/cldr/supplemental.js"></script>
<script type="text/javascript" src="../artifacts/js/cldr/unresolved.js"></script>
<script type="text/javascript" src="../artifacts/js/globalize.js"></script>
<script type="text/javascript" src="../artifacts/js/globalize/message.js"></script>
<script type="text/javascript" src="../artifacts/js/globalize/number.js"></script>
<script type="text/javascript" src="../artifacts/js/globalize/currency.js"></script>
<script type="text/javascript" src="../artifacts/js/globalize/date.js"></script>
<script type="text/javascript" src="../artifacts/js/globalize/date.js"></script>-->


<!--
<script type="text/javascript" src="../artifacts/js/exceljs.min.js"></script>
<script type="text/javascript" src="../artifacts/js/FileSaver.min.js"></script>
<script type="text/javascript" src="../artifacts/js/jszip.min.js"></script>
<script type="text/javascript" src="../artifacts/js/jspdf.umd.min.js"></script>
<script type="text/javascript" src="../artifacts/js/jspdf.plugin.autotable.min.js"></script>

-->

<script type="text/javascript" src="../artifacts/js/dx.all.debug.js" charset="utf-8"></script>
<script type="text/javascript" src="./themeSelector.js"></script>
Expand All @@ -51,38 +51,11 @@ <h1 style="position: fixed; left: 0; top: 0; clip: rect(1px, 1px, 1px, 1px);">Te
<br />
<div id="button"></div>
<script>
$(() => {
const converter = {
/**
* _optionChanged: value
*/
toHtml: (value) => {
// debugger

return value
},
/**
* _textChangeHandler: value
*/
fromHtml: (value) => {
// debugger

return value
},
};

const editorInstance = $('#button').dxHtmlEditor({
height: 300,
value: 'custom text',
converter,
}).dxHtmlEditor('instance')

editorInstance.option('value', {})

/**
* 1. Run 1 time per value change
* 2. No crashes when returning unpredictable values from both methods
*/
$(function() {
$("#button").dxButton({
text: 'Click me!',
onClick: function() { alert("clicked"); }
});
});
</script>
</div>
Expand Down

0 comments on commit 096b05d

Please sign in to comment.