# 블럭의 내용이 없을 때 GetTextFile

**URL:** <https://forum.developer.hancom.com/t/gettextfile/978>\
**Category:** 웹한글 기안기\
**Created:** [10월 11, 2023, 6:01오후 UTC](https://forum.developer.hancom.com/t/gettextfile/978 "2023-10-11T18:01:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bart](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bart](https://forum.developer.hancom.com/u/bart)\
**Post date:** [10월 12, 2023, 11:52오후 UTC](https://forum.developer.hancom.com/t/gettextfile/978/2 "2023-10-12T23:52:43Z")

</div>

안녕하세요.

이전에 동일한 문의가 들어와 수정하여 패치 준비중에 있습니다.

우선 이전 문의 답변 참고 부탁드립니다.

> [@GetTextFile 함수에 대해 문의드립니다.](https://forum.developer.hancom.com/t/gettextfile/925):
>
> 현재 GetTextFile이 작동되지 않는 경우가 있어 문의드립니다. var data; HwpCtrl.GetTextFile(“HWP”, “saveblock”, function(result){ data = result; } 이렇게 호출하여 사용했을 때 공백 값이 들어오게 되면 GetTextFile 콜백 함수 안의 실행문이 실행되지 않고 멈춥니다. saveblock 옵션을 사용하게 되면 공백값을 처리하지 못하는건지, 만약 처리가 가능한 경우에는 어떻게 처리를 진행하는지 궁금합니다.

---

_[View the full topic](https://forum.developer.hancom.com/t/gettextfile/978)._
