<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[썸머노트 에디터 오류]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/54329</link>
		<description><![CDATA[<p>게시판 내에 테이블 작성을 위해서 썸머노트를 사용하고 있습니다.</p>

<p>그런데 썸머노트 에디터에 이미지를 여러장 올리거나 큰이미지를 올리고 나서 게시글을 수정할때 오류가 발생합니다.</p>

<p>용량문제인거같아서 리사이즈해도 똑같이 오류가 납니다.</p>

<p> </p>

<p>썸머노트로 이미지 여러장 업로드 하는것은 불가능할까요?</p>

<p>아니면 기본 워드프레스 에디터에 일반사용자도 테이블 작성을 할수 있는 방법이 있을까요?</p>

<p> </p>

<p>게시글 수정시 아래와 같은 오류가 뜹니다.</p>

<p>https://imgur.com/Pef3UyQ</p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[답변 감사합니다~ 해결했어요!!]]></title>
			<link>https://www.cosmosfarm.com/threads/document/54431</link>
			<description><![CDATA[<p>답변 감사합니다~ 해결했어요!!</p>]]></description>
			<author>crossdesign</author>
			<pubDate>Tue, 03 Aug 2021 01:09:03 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

썸머노트 에디터는 기본적으로 이미지 업로드 시 base64 인코딩을 적용하고 있습니다.

...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/54330</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>썸머노트 에디터는 기본적으로 이미지 업로드 시 base64 인코딩을 적용하고 있습니다.</p>

<p>base64는 바이너리 데이터를 텍스트를 변경하기 때문에</p>

<p>이미지 파일로 저장되지 않고 텍스트로 저장됩니다.</p>

<p> </p>

<p>따라서 이미지가 큰 파일인 경우 수정 시 </p>

<p>메모리를 초과하는 정도의 텍스트를 불러오게 될 수도 있습니다.</p>

<p> </p>

<p>썸머노트 자체 기능을 사용하시기 보단 KBoard 사진 업로드 기능을 이용하여</p>

<p>이미지를 삽입하면 해당 문제에서 벗어날 수 있습니다.</p>

<p> </p>

<p>워드프레스 기본 에디터에 기능을 추가하여 테이블을 작성하시려면</p>

<p>아래 플러그인을 사용해보시겠어요?</p>

<p><a href="https://ko.wordpress.org/plugins/tinymce-advanced/" target="_blank">https://ko.wordpress.org/plugins/tinymce-advanced/</a></p>

<p> </p>

<p>썸머노트 에디터에서 이미지 첨부 기능을 사용하지 않게 하시려면</p>

<p>아래의 코드를 활용해보세요.</p>

<pre>
<code>add_action('wp_head', 'wp_head_2020_04_10');
function wp_head_2020_04_10(){
	?&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']],
							['fontname', ['fontname']],
							['color', ['color']],
							['para', ['ul', 'ol', 'paragraph']],
							['table', ['table']],
							['insert', ['link', '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>위의 코드에서 toolbar 쪽 설정을 변경하시면 다른 메뉴들도 안 보이게 하실 수 있습니다.</p>

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

<p> </p>

<p>아래의 관련 링크도 참고해보세요.</p>

<p><a href="https://summernote.org/getting-started/#i18n-support" target="_blank">https://summernote.org/getting-started/#i18n-support</a></p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Wed, 28 Jul 2021 09:11:10 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>