YuMyo
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Field Suite] Making it compatible with Tabify Edit Screen+++1 ; )
Forum: Plugins
In reply to: [Infinite-Scroll] Manual Trigger not loading to the bottomHave you tried to move the trigger outside your posts container ?
Forum: Plugins
In reply to: [Shortcodes Pro] No buttons for AuthorsOk solved again!
In class-shortcodepro-main.php around line 57-59 you’ll find:if ( current_user_can( 'edit_posts' ) && current_user_can( 'edit_pages' ) && get_user_option( 'rich_editing' ) == 'true' ) {But Authors cannot
edit_pagesso removing the second line solve the problem:if ( current_user_can( 'edit_posts' ) && get_user_option( 'rich_editing' ) == 'true' ) {Forum: Plugins
In reply to: [Shortcodes Pro] No buttons for Authorsit seems like while logged-in as an author WP isn’t able to load shortcode-pro tinyMce plugins … editor looks for them in the wrong place (dafault TinyMce plugins location) giving back a 404 and this breaks everything. But why?
I’m still inspecting…Forum: Plugins
In reply to: [Shortcodes Pro] Attributes not working?Yes Pete, just tested. Be sure to use latest version of the plugin.
Forum: Plugins
In reply to: [Shortcodes Pro] Attributes not working?There’s a typo in my latest comment, this is the proper syntax:
window.tinyMCE.execCommand('mceInsertContent', false, shortcodeContent);Jose, I’ve looked at the Aloha Editor a couple of times but it still miss a clean approach IMO. I think we need a solid markdown parser, which hopefully merge all the different implementations (markdown, markdown-extra, multi-markdown). It seems like someone just did it https://github.com/PieroWbmstr/Extended_Markdown
On the other hand we could rely on some javascript to handle the preview, like the epic editor does http://epiceditor.com/ But the Epic editor relies on marked.js, which actually supports just a subset of the Extended Markdown features. So the quest for the perfect editor remains open…Forum: Plugins
In reply to: [Shortcodes Pro] Attributes not working?OK, finally I’ve solved it by my self : )
in shortcodespro-overlay.php on line 109 change:
window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, shortcodeContent);
into:
window.tinyMCE.execCommand('content', 'mceInsertContent', false, shortcodeContent);Now Shortcodes Pro work smoothly everywhere!
For more info see:
/www.tinymce.com/wiki.php/Command_identifiersForum: Plugins
In reply to: [Shortcodes Pro] Attributes not working?The problem seems to be related in shortcodespro-overlay.php around line 108:
window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, shortcodeContent); tinyMCEPopup.editor.execCommand('mceRepaint'); tinyMCEPopup.close();Forum: Plugins
In reply to: [Shortcodes Pro] Attributes not working?Shortcode UI works smoothly everywhere TinyMce is called, no matter if is a custom filed or a different meta box. However I still much prefer the Shortcodes Pro approach in terms of UI and user interaction so I really hope to find a fix to make it available no matter where TinyMce is instantiated.
Forum: Plugins
In reply to: [Shortcodes Pro] Attributes not working?Sorry, it was a plugin conflict. In this case with Editor repositioner plugin, which wrap the post editor inside a metabox. At the same time I verified that the “attributes dialog” does not work for textareas (custom fileds), where you may want to load TinyMce.
Any idea to make shortcode-pro more modular ?
Forum: Plugins
In reply to: [wp-Typography] [Plugin: wp-Typography] error noticesSeems like this solved the problem:
Context: parseText.php, around line 62function load($rawText) { // abort if a simple string exceeds 500 characters (security concern) if(!is_array($rawText)){ if(preg_match("@\w{500}@s",$rawText)){ return; } }Code taken from this comment on Kingdesk.com:
http://kingdesk.com/projects/wp-typography/#comment-1383Forum: Plugins
In reply to: [wp-Typography] [Plugin: wp-Typography] error noticesSame here.
It’s a beautiful plugin but we definitely need advice if it is still supported.Thanks Rodilard! It works like a charm!