Comments (5)
Hmm... some more tests seems to show vuejs / tuieditor as the problem instead of undescorejs / tuieditor. Anyway, I can't use tui inside my application for now, and will hear any advice with joy !
I'm using vuejs 2.5.0
from tui.editor.
I'll try reproduce the problem. meanwhile any detail will be welcomed
from tui.editor.
Thank you for your answer, @kyuwoo-choi !
Here are some code extracted from my app :
The template (php / twig) part which will contain the editor (#editorZone).
<div class="box-body">
<div id="editorVue" data-id="{{ pageId }}" v-cloak>
<label>Titre</label>
<div class="form-group">
<input class="form-control" :value="title" @input="update">
</div>
<label>Contenu</label>
<div class="form-group" id="editorZone">
</div>
</div>
</div>
The div "#editorVue" is my root vuejs instance.
The loaded js (yes, I'm not using webpack, nor any bundler :) ). The <script>
markups are written just before </body>
.
<script src="/js/libs/jquery-2.2.4.min.js"></script>
<script src="/js/libs/bootstrap.min.js"></script>
<script src="/js/libs/vue.js"></script>
<script src="/js/libs/tui/lib/tui-code-snippet.js"></script>
<script src="/js/libs/tui/lib/markdown-it.js"></script>
<script src="/js/libs/tui/lib/toMark.js"></script>
<script src="/js/libs/tui/lib/codemirror.js"></script>
<script src="/js/libs/tui/lib/highlight.pack.js"></script>
<script src="/js/libs/tui/lib/squire-raw.js"></script>
<script src="/js/libs/tui/tui-editor.js"></script>
<script>
$('#editorZone').tuiEditor({
initialEditType: 'markdown',
previewStyle: 'tab',
height: '300px'
})
.tuiEditor('setValue', '# Hello');
</script>
<script src="/js/libs/underscore-min.js"></script>
<script src="/js/editor.js"></script>
editor.js is a (very simple) custom script that manages my vues js instance.
If I comment vuejs and editor.js, tui-editor is ok, else tui displays but does not react.
Commenting only vuejs is also ok for tui, but with errors (shown in console) as editor.js needs it. (That lets me think editor.js is not the problem).
If you need specific information, please do not hesitate to ask. I will give them happily :)
from tui.editor.
Unable to use it here too. WYSIWYG editor works somewhat fine, but cursor doesn't show in Markdown view and scrolling doesn't work. Typing inserts data at random positions, not very consistent.
from tui.editor.
@ppaysant
Sorry for the late reply. We release vue wrapper for tui.editor. Please use this wrapper. If there is some problem when using vue wrapper, leave issue in the vue wrapper of tui.editor.
I will close this issue.
from tui.editor.
Related Issues (20)
- Syntax highlighter does not escape XML-entities when language is unknown or unspecified
- Add URL validation for image upload by URL input HOT 1
- 에디터 가운데 정렬 문의
- Drag & Drop and Paste of Images renders as Base64 without addImageBlobHook in Firefox HOT 1
- Optionally Support rendered inline math using $$.
- Numbered List Issues
- Make base64 encoded images collapsible
- Select in a cell cause error : Uncaught TypeError: Class constructor Selection cannot be invoked without 'new'
- Any fork of this project? HOT 1
- Inserted Image via URL does not show/load on WYSIWYG only editor
- WYSIWYG mode no character escaping
- Support React@18
- enhance the initial table redring
- customHTMLRenderer behavior in Markdown vs WYSIWYG mode
- 표 내부 텍스트 영역 선택 시, 전체 인식 이슈
- getHTML() Method in Toast-UI/Editor Returns Unexpected Value When Editor is Empty HOT 1
- Multiline XML opening tag is not escaped
- 에디터에서 사진 드래그 앤 드랍 막기.
- Specific HTML input breaks WYSIWYG usability
- Does Toast-UI Editor supports dark theme? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tui.editor.