1. Home
  2. Docs
  3. TinyMCEv5
  4. content
  5. 四種類定風格content_css

四種類定風格content_css

[code]
<!DOCTYPE html>
<html lang="en">
<head>
<!–
<script src="https://cdn.tiny.cloud/1/mott8ilewgbu1tryzfu9q7sdcmn5qfqt19jixbvaqgaz6kjc/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script>
–>
<script src="https://code.jquery.com/jquery-1.11.3.js"></script>
<script src="../../../system/libs/tinymce/js/tinymce/tinymce.min.js" referrerpolicy="origin"></script>
<script>
tinymce.init({
selector : ‘#richTextArea_www_powenko_com’,
menubar: ‘file edit insert view format table tools help ‘,
//content_css : ‘mycontent.css’ // resolved to http://domain.mine/mysite/mycontent.css
content_css : ‘dark’
});
</script>
</head>
<body>
<textarea id="richTextArea_www_powenko_com"></textarea>
www.popwenko.com
TinyMCE comes with four content CSS files:

default
dark
document
writer

</body>
</html>
[/code]