이것은 이상한 문제이며, 온라인 조사를 거친 후 나는 그것을 해결할만한 것을 본 적이 없다고 생각합니다.thymeleaf 양식 텍스트 영역에 나타나는 tinymce 인터페이스를 얻는 방법은 무엇입니까?
나는 thymeleaf에 양식이 있습니다. 또한 페이지에 tinyMCE 플러그인이 설치되어 있습니다. 누구든지 양식에 대한 입력으로 tinymce 플러그인을 표시하는 방법을 알고 있습니까? 당신이 볼 수 있듯이
<head>
<title>Nobody Can Solve This.</title>
<script>
tinymce.init({
selector: "textarea"
});
</script>
</head>
\t
\t <body>
\t \t <center><h2>Submitting a post(via Tiny MCE)</h2></center>
\t \t <form method="post">
<textarea id="mytextarea">Hello, World!</textarea>
</form>
\t
\t \t \t
\t \t <h1>Form</h1>
<form action="#" th:action="@{/blogposts/addBlogPost}" th:object="${blogPost}" method="post">
<p>Title: <input type="text" th:field="*{title}" /></p>
<p>Author: <input type="text" th:field="*{authors}" /></p>
<p>Content: <input type="textarea" th:field="*{content}" /></p>
<p><textarea name="ephox">Blog Post</textarea></p>
<p>Subject: <input type="text" th:field="*{Subject}" /></p>
<p><input type="submit" value="Submit" /> <input type="reset" value="Reset" /></p>
</form>
\t
아이디어가 있으십니까? 나는 모든 것을 시도했다.
이것은 thymeleaf가 아닙니다. 왜이 바보 같은 웹 사이트에서 아무도 내가 읽지 않은 것을 읽지 않습니다. 이것은 HTML의 Javascript입니다. ** 이것은 ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** – DaveCat