wysiwyg

CKEditor separate the toolbar from the editor

白昼怎懂夜的黑 提交于 2019-12-14 02:08:46
问题 I'm using CKEditor on a project where space for the instances is constrained to the point that it would be useful to have a remote toolbar in some fixed position, similar to TinyMCE or nicEdit. Has anyone managed this? 回答1: I found the answer to my own question using Shared Spaces lets you do what I wanted. I found the example here. http://vtk.ugent.be/best/sites/all/libraries/ckeditor/_samples/sharedspaces.html 来源: https://stackoverflow.com/questions/4567164/ckeditor-separate-the-toolbar

Alternative to Tiny MCE

不羁的心 提交于 2019-12-14 00:39:29
问题 Was wondering if anyone knows a good alternative to tinymce? I find that it sometimes has problems with AJAX infused content. And I've noticed that it seems a little slow when loading - I first see the textarea with the HTML-Markup and then it flashes and then I see the tiny interface. wmd and markitup are not exactly what I am looking for - they are too rudimentary. Is there any other good lightweight Javascript WYSIWYG Editor out there? Thanks Casper 回答1: What about FCKeditor? 回答2: CKEditor

CKEditor: Remove 'Link Type' option, but set URL as default Link Type?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 16:11:43
问题 I'm using the Link plugin for CKEditor, and I'm trying to remove the 'Link Type' option so a user can input an address into the URL field and not have to set the 'Link Type' option. When I use the code below, it removes the 'Link Type' option, but when you try to click the link it creates, it doesn't open the link as intended. So I'm wondering how can I set the default 'Link Type' as a URL so the link can be opened successfully, but also remove the option to set 'Link Type' manually? CKEDITOR

Evernote web note editor

早过忘川 提交于 2019-12-13 07:45:47
问题 I am developing a web app integrated with Evernote and was wondering if there is a way to use the Evernote note editor inside my app. Do they provide something through their API or maybe an URL to call with some specific arguments? I wasn't able to find anything. If there is no way to use the Evernote editor I will probably end up using a custom WYSIWYG. Thanks. 回答1: We don't provide a way to embed our note editor, but you can open a specific existing note for view or edit using the URLs

How to configure TinyMCE to allow a block-level elements inside anchor tags?

天涯浪子 提交于 2019-12-13 07:06:51
问题 Here is my scenario; I want to be able to create content like: <div class="a"> <a href="someurl"><img src="somepic"></a> </div> However TinyMCE strips it to <div class="a"> <img src="somepic"> </div> Thanks! 回答1: I resolved this with: convert_urls : false, remove_script_host : false, verify_html: false, valid_children : "+a[div|h1|h2|h3|h4|h5|h6|p|#text]", :) 来源: https://stackoverflow.com/questions/18444300/how-to-configure-tinymce-to-allow-a-block-level-elements-inside-anchor-tags

Changing font size options on WYSIWYG editor?

蹲街弑〆低调 提交于 2019-12-13 04:49:24
问题 So I have a bootstrap wysiwyg editor from a jqueryscript.net plugin and I'm trying to give more font options in the font size dropdown. So I went into the JS and found the var for it and changed it from like small, medium, large, huge into more precise sizes like 10px, 11px, 12px, etc. But when I got into the editor to test it out, it's still using the old font sizes, so when I go from like 5px-10px it's the small medium size.. etc. I've looked and looked and looked in the JS which isn't too

Some HTML tags (e.g. IFRAME) and Javascript in Joomla 1.5 articles are automatically removed when using the WYSIWYG editor

杀马特。学长 韩版系。学妹 提交于 2019-12-13 04:41:25
问题 When using a WYSIWYG editor in Joomla 1.5 to create website content I am not able to freely insert HTML tags, such as IFRAME as the HTML tags will be automatically removed on saving the article. I can either configure Joomla not to use a WYSIWYG editor which makes editing articles a bit of a pain, or I can force the HTML code into the article using MySQL Query Browser and altering the article content directly in the site's database. Doing this is not only cumbersome but also ineffective,

Quill rich text editor resize image only works in IE but not in Chrome or Edge

心已入冬 提交于 2019-12-13 04:32:40
问题 I implemented Quill text editor to my web app. I created a web app in asp.net core 2.1 Quill text editor resizing an image working fine in IE but not in Chrome or Edge. Is this already known issue for other browsers? If so, only IE is suitable for resizing an image thru Quill editor? If you tell me only IE can resize an image thru Quill, I have to use different text editor I guess.. hope not though.. If I have to use different one, can you recommend one that is open source? Thank you in

Getting a product attribute from within another product attribute?

﹥>﹥吖頭↗ 提交于 2019-12-13 04:20:00
问题 We are having issues with the WYSIWYS editor messing up our embed codes for videos. One solution we came up with is to make the embed code its own attribute, then call that attribute from within the product description. Is that even possible? We don’t want to add it to the .phtml, We would rather place it in the description. 回答1: As it is, this is impossible if you plan to do it without any code modification at all. However, if you want to process something in the description by calling a

Change the line height of the selected text with Javascript

最后都变了- 提交于 2019-12-13 02:46:16
问题 I am trying to program my own WYSIWYG editor as a summer project. I am trying to implement the line height function that controls(single spacing, double spacing, etc). I have created the dropdown that will allow users to select between the types of spacing. However, I cannot seem to get the right Javascript, because the selected text does not change in line spacing at all no matter which option I choose. Can someone please take a look at my Javascript and tell me where I went wrong? If