I want to disable drag and drop text and image into the tinymce Editor (textarea). I tried to search on the web and still cannot find the working answer. Can anyone please provide me the snippet that i can work around ? Thanks much.
Anyone ? :(
This should be possible using the paste plugin. The paste_block_drop option should do just what you want.
Related
How I can add image at the Visual Studio Code Minimap ? I see this in a video. I can't find it anywhere, but I have been looking for about an hour. Can anyone help me for this "problem" ?
Thanks in advance.
The minimap is a small re-render of the actual editor content, without any view zone. It's not possible to add any other content to it.
hello everyone,
i hope that everything is going well for all of you.
i have question, i'm using TinyMCE 3.4.6 in my project, and i want to
disable drag and drop images, so i add the parameter
paste_block_drop to true, but when i try to drag and drop the
image the Browser open it in the same page. i want to block the drag
and drop without opening the image when someone try to drar and drop
image.
Can someone have a clue ? thanks for all of you
You may want to upgrade to a newer version of TinyMCE. This may have been fixed since the version you're using was released.
Is it possible to drag selected text to move it? This is in almost every other editor (not to mention text input fields in browsers.) I was surprised not to find it in VS Code.
Here is a gif example.
This is now supported as of Feb 2017 release (1.10.1) but it is disabled by default.
To enable it: Go to File > Preferences > Settings and add this line "editor.dragAndDrop": true
Source: https://code.visualstudio.com/updates/v1_10#_preview-drag-and-drop-selected-text
Looks like it's not yet implemented, but there's an open issue about it.
If you want to help without diving into the internals, go 👍 the issue to add to its social signal.
I don't believe so. Their site says that it is keyboard-optimized and keyboard-centric, so their idea might be that you should highlight some text, cut it, and past it where you want it rather than dragging it.
I talk about this problem on Github Microsoft page and Microsoft engineers see this. I hope to solve it. (Please support by 👍 on this page.)
I tried out the solution found here: https://wordpress.stackexchange.com/questions/33552/how-to-use-tinymce-for-user-biographical-info-without-messing-with-any-core-fi/33575#33575 and added it to my plugin code.
The problem is, it turns the editor white
How do I make it show up?
So I decided to use this plugin instead:
http://wordpress.org/extend/plugins/visual-biography-editor/
It will make the description textarea get the same editor as the wordpress post/page editor.
Hope this helps anyone who passes by!
John
I am creating a plugin for TinyMCE, which is basically a form that has a textarea in it. I want the user to be able to input formatted text in that textarea, using the TinyMCE editor. The problem is that I'm not able to 'enrich' the textarea element inside the dialog.htm file in any way. Does there exist a way to do such a thing?
Thanks in advance,
Tomor
I found a quick fix. I managed to put the editor in an iframe, following the suggestion in this post:
http://www.tinymce.com/forum/viewtopic.php?pid=84668#p84668
It seems a bit messy, but it works.