2017-03-10 4 views
0

pdf 파일이나 docx 파일을 내 텍스트 영역에 추가하고 싶습니다. 너를 도와 줄 수 있길 바래. 고맙습니다 ! 당신은 확인하기를 원한다면 나는 그것이 내 웹 사이트 나 또한 내 txtarea에 대한 자바 스크립트를 발견 linkinads.com/publish-new.html텍스트 영역에 pdf 파일을 추가하는 방법은 무엇입니까?

enter image description here


<?if($form_show['description'] != FALSE):?> 
    <div class="form-group"> 
     <div class="col-md-12"> 
      <?= FORM::label('description', _e('Description'), array('for'=>'description', 'spellcheck'=>TRUE))?> 
      <?=FORM::textarea('description', Request::current()->post('description'), array('class'=>'form-control'.((Core::config("advertisement.description_bbcode"))? NULL:' disable-bbcode'), 
       'name'=>'description', 
       'id'=>'description', 
       'rows'=>10, 
       'required', 
       'data-bannedwords' => (core::config('advertisement.validate_banned_words') AND core::config('advertisement.banned_words') != '') ? json_encode(explode(',', core::config('advertisement.banned_words'))) : '', 
       'data-error' => __('This field must not contain banned words ({0})')))?> 
     </div> 
    </div> 
+0

어떤 텍스트 편집기를 사용하고 있습니까? – vusan

+0

pdf를 텍스트 영역으로 끌어서 놓으시겠습니까? –

+0

예. 또는 나는 pdf 파일을 업로드하기 위해 내 txt 영역에서 위의 내용을 클릭해야합니다. 감사 –

답변

0

에 위치하고 말은,이 더 많은 사람을 도움이되기를 바랍니다. JS 편집 ...할까요?

//sceditor $('textarea[name=description]:not(.disable-bbcode)').sceditorBBCodePlugin({ toolbar:: "bold,italic,underline,strike,|left,center,right,justify|" + 
"bulletlist,orderedlist|link,unlink,youtube|source", 
resizeEnabled: "true", 
emoticonsEnabled: false, 
style: $('meta[name="application-name"]').data('baseurl') + "themes/default/css/jquery.sceditor.default.min.css", 
width: '88%', 
height: "300px"}); 
관련 문제