tinymce

Is there any working spellchecker plugin for TinyMCE

对着背影说爱祢 提交于 2019-12-23 13:15:20
问题 I am using spellchecker from Google in my web application. It was working great but for some reason Google has stopped or removed their service and now it's not working. Here is the link for the SOAP API - https://developers.google.com/soap-search/?csw=1#1_3. I tried with some other components like http://www.jspell.com/tinymcespellchecker.html (it's require some intallation on the server and have some issues related to typing + some PHP code to execute) http://jquery-spellchecker.badsyntax

TinyMCE JQuery Plugin is not always updating textareas

限于喜欢 提交于 2019-12-23 12:42:58
问题 We have a form that has quite a few textareas (in some cases, as many as 20). Each of these textareas are transformed into wysiwyg editors via the TinyMCE jquery plugin as follows: var tinymceoptions = { script_url: '/Scripts/tiny_mce/tiny_mce.js', theme: "advanced", mode: "textareas", elements: "text,html1", theme_advanced_buttons1: "bold,italic,underline,formatselect,separator,image,insertfile,separator,blockquote,bullist,numlist,separator,undo,redo,separator,link,unlink,separator,code

TinyMCE gulp configuration

纵然是瞬间 提交于 2019-12-23 11:02:29
问题 I am building a web application and I want to use TinyMCE. I am using gulp and browserify. I have downloaded TinyMCE through npm and than I have required it in my app.js file and run the gulp command but I got this error Failed to load: root/js/themes/modern/theme.js . I think this is because TinyMCE needs additional files from its folder. My question is how to configurate TinyMCE to search those files in the node_modules/tinymce folder. 回答1: The answer here depends completely on how you are

jquery-ui sortable on divs with TinyMCE editors causes text to disappear

蹲街弑〆低调 提交于 2019-12-23 09:27:55
问题 following the instructions at: http://www.farinspace.com/multiple-wordpress-wysiwyg-visual-editors/ i've got some nice WYSIWYG editors in my metaboxes my markup looks like: <div class="sortable"> <div class="sortme"> <?php $mb->the_field('extra_content2'); ?> <div class="customEditor"><textarea name="<?php $mb->the_name(); ?>"><?php echo wp_richedit_pre($mb->get_the_value()); ?></textarea></div> </div> <div class="sortme" <?php $mb->the_field('extra_content3'); ?> <div class="customEditor">

TinyMCE valid elements: only allow specific CSS rules

与世无争的帅哥 提交于 2019-12-23 08:56:07
问题 TinyMCE's valid_elements property lets you define a whitelist of valid HTML elements and their attributes. You can allow only paragraphs and links with this: tinyMCE.init({ valid_elements: 'p,a[href]' }); However, the style attribute is a bit of a problem. It's needed for certain things like aligning, but if you allow it then it could contain all sorts of undesirable CSS rules. Is there any way to restrict its contents to only allow certain rules, something like this: a[href|style=text-align

How to dynamically load & unload a TinyMCE Plugin

依然范特西╮ 提交于 2019-12-23 07:59:08
问题 Does anyone know if there is a way I can dynamically load and unload a TinyMCE plugin after TinyMCE has already been loaded? Specifically, I'm thinking about asking the user whether or not they wish to load the fullpage plugin using perhaps a radio button or something above TinyMCE: <input type="radio" name="fullpage" value="enabled" /> Enable Fullpage Plugin<br /> <input type="radio" name="fullpage" value="disabled" /> Disable Fullpage Plugin<br /> <textarea name="tinymce" id="tinymce">...<

TinyMCE is not defined Jquery

我的梦境 提交于 2019-12-23 07:42:47
问题 Have been working on this error for 2 days and cannot get TinyMCE to work. I am using the jquery version of TinyMCE. Below is my HTML code with a form that contains a textarea. I use Google Inspect Element and under the console tab i get the following error: "Uncaught ReferenceError: tinymce is not defined". Any help would be appreciated. <form id="add_update_form" action="" method="POST" title="Add Blog"> <p class="feedback"></p> <!-- <label>Created:</label> <input type="text" name="created"

TinyMCE and jQuery - attr() is returning an Object

↘锁芯ラ 提交于 2019-12-23 07:33:26
问题 I've solved this by using data() instead of attr() , but I'd still like to know if this is just me, and what's causing it: I'm using jQuery 1.7.1 and TinyMCE 3.5b3 (jQuery package). No other JS libraries. This code outputs "string", and the anchor tag's href, as expected, when the link is clicked. $('a.page_item_delete').on('click', function(event){ event.preventDefault(); var $this = $(this); console.log(typeof $this.attr('href')); console.log($this.attr('href')); }); When I activate TinyMCE

How can I pass data to tinymce in vue.js?

廉价感情. 提交于 2019-12-23 06:05:07
问题 I have a form with a couple of filed and a tinymce editor. You can add and edit an item/row. When I try to edit a row and load the properties to their place all load just fine except the tinymce's Content. I want to parse the code inside the editor in a rendered form (source code=>normal form) but I cannot found a way to do so. I have tried v-model but it doesnt work with tinymce backwards. <v-flex> <tinymce id="d1" v-model="message.Content" :rules="empty"></tinymce> </v-flex> The message

How can I pass data to tinymce in vue.js?

为君一笑 提交于 2019-12-23 06:04:14
问题 I have a form with a couple of filed and a tinymce editor. You can add and edit an item/row. When I try to edit a row and load the properties to their place all load just fine except the tinymce's Content. I want to parse the code inside the editor in a rendered form (source code=>normal form) but I cannot found a way to do so. I have tried v-model but it doesnt work with tinymce backwards. <v-flex> <tinymce id="d1" v-model="message.Content" :rules="empty"></tinymce> </v-flex> The message