NicEdit 편집기가있는 JQuery 모달 대화 상자가 있습니다. NicEditor에는 사용자가 직접 HTML을 조정할 수있는 HTML 버튼이 있습니다. Modal Dialogue 외부에서 올바르게 작동합니다. 모달 대화 상자 안에서는 열려 있지 않습니다.NicEdit 문제가있는 모달 JQuery-UI 대화 상자
나는 이것을 Plunker에서 복제했습니다. https://plnkr.co/edit/kr6GAS4Z0SNh6Ws38WdO?p=preview
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
</head>
<body>
<div id="dialog" title="test" style="display:none;">
<form>
<textarea id="editor"></textarea>
</form>
</div>
<input type="button" id="test" value="open dialog wysiwyg"/>
</body>
<script>
$('#test').click(function(){
$('#dialog').dialog({
width:400,
height:400,
modal:true,
open: function(){
new nicEditor({ minHeight: 220, maxHeight: 220, fullPanel: true, iconsPath:'https://cdn.jsdelivr.net/nicedit/0.9r24/nicEditorIcons.gif'}).panelInstance('editor');
}
});
});
</script>
</html>
이이 일을 할 수있는 방법이 있습니까?
나는 NicEdit 대화 자체 편집 창을 배치하지에서 문제가 줄기 생각 - 내가가 본체에 붙어 생각합니다. 모달을 끄기로하면이 문제를 해결할 수 있습니다. –