この記事は旧バージョンのエディタについてのものになります。 現在は進化した新バージョンがリリースされています。 初めてエンジニアらしい記事を書きます。 記念すべき?初回はHTML5のcontenteditableのお話です。 contenteditable コンテントエディタブル、と ...
This component returns HTML. Is there a way to get it to return (and accept) plain text? I don't want to save HTML to our server, because then any simple hacker can inject any HTML tags they want into ...
contenteditable attribute is a new feature added to HTML5. By the terminology, we understand that this attribute is used to specify that whether the contents of an element are editable or not. This ...
contenteditable属性を持つDOMのハンドリングの一つを紹介したいと思います。 このcontenteditable属性を持つDOMはインタラクティブなアプリでよく登場してきます。例えば、ユーザーのカーソルキャレットの位置とイベント発火タイミング、選択領域等を考慮して別 ...
I should be able to drag and drop elements with contenteditable="false" if they're in the "allowedHtml" and BLOCK_TAGS lists.