<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[썸머노트 툴바 php]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/42015</link>
		<description><![CDATA[<p>늘 고생하시는 제작자님 감사합니다</p>

<p> </p>

<p>제가 썸머노트를 버전 업데이트(라이트 버전)를 해서 이제 툴바에다가 배열을 바꾸고 싶어서</p>

<p> </p>

<pre>
<code>'toolbar' =&gt; [
				          ['style', ['style']],
				          ['font', ['bold', 'underline', 'clear']],
				          ['color', ['color']],
				          ['para', ['ul', 'ol', 'paragraph']],
				          ['table', ['table']],
				          ['insert', ['link', 'picture', 'video']],
				          ['view', ['fullscreen', 'codeview', 'help']]
				        ]</code></pre>

<p> </p>

<p>에디터 필드 php 맨 위 썸머노트 불러오는 곳에다가 이렇게 넣어봤는데요</p>

<p> </p>

<p>코드가 오류는 안나는데 안 먹히네요.. </p>

<p> </p>

<p>혹시 방법이 있을까요?</p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[허억.. 감사합니다..!]]></title>
			<link>https://www.cosmosfarm.com/threads/document/42038</link>
			<description><![CDATA[<p>허억.. 감사합니다..!</p>]]></description>
			<author>Mo1o</author>
			<pubDate>Fri, 20 Mar 2020 02:02:01 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

썸머노트 에디터를 편집하시려면 PHP 코드가 아닌

자바스크립트 코드를 수정해주셔야 ...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/42028</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>썸머노트 에디터를 편집하시려면 PHP 코드가 아닌</p>

<p>자바스크립트 코드를 수정해주셔야 합니다.</p>

<p>아래 코드를 활용해보시겠어요?</p>

<pre>
<code class="language-html">add_action('wp_head', 'wp_head_2020_03_20');
function wp_head_2020_03_20(){
	?&gt;
	&lt;script&gt;
	jQuery(document).ready(function(){
		var kboard_mod = jQuery('input[name=mod]', '.kboard-form').val();
		if(kboard_mod == 'editor'){
			if(kboard_current.use_tree_category == 'yes'){
				kboard_tree_category_parents();
			}
			
			if(kboard_current.use_editor == 'snote'){ // summernote
				jQuery('.summernote').each(function(){
					var height = parseInt(jQuery(this).height());
					var placeholder = jQuery(this).attr('placeholder');
					var lang = 'en-US';
					
					if(kboard_settings.locale == 'ko_KR'){
						lang = 'ko-KR';
					}
					else if(kboard_settings.locale == 'ja'){
						lang = 'ja-JP';
					}
					
					jQuery(this).summernote({
						toolbar: [
					          ['style', ['style']],
					          ['font', ['bold', 'underline', 'clear']],
					          ['color', ['color']],
					          ['para', ['ul', 'ol', 'paragraph']],
					          ['table', ['table']],
					          ['insert', ['link', 'picture', 'video']],
					          ['view', ['fullscreen', 'codeview', 'help']]
					    ],
						fontNames: ['Arial', 'Arial Black', 'Comic Sans MS', 'Courier New', 'Helvetica Neue', 'Helvetica', 'Impact', 'Lucida Grande', 'Tahoma', 'Times New Roman', 'Verdana', 'Nanum Gothic', 'Malgun Gothic', 'Noto Sans KR', 'Apple SD Gothic Neo'],
						fontNamesIgnoreCheck: ['Arial', 'Arial Black', 'Comic Sans MS', 'Courier New', 'Helvetica Neue', 'Helvetica', 'Impact', 'Lucida Grande', 'Tahoma', 'Times New Roman', 'Verdana', 'Nanum Gothic', 'Malgun Gothic', 'Noto Sans KR', 'Apple SD Gothic Neo'],
						fontSizes: ['8','9','10','11','12','13','14','15','16','17','18','19','20','24','30','36','48','64','82','150'],
						lang: lang,
						height: height,
						placeholder: placeholder
					});
				});
			}
		}
	});
	&lt;/script&gt;
	&lt;?php
}</code></pre>

<p>테마의 functions.php 파일에 코드를 추가하거나 <a href="https://ko.wordpress.org/plugins/code-snippets/" target="_blank">Code Snippets</a> 플러그인을 사용해서 코드를 추가할 수 있습니다.</p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Fri, 20 Mar 2020 00:27:03 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>