rixbeck / bolt-extension-editable Goto Github PK
View Code? Open in Web Editor NEWIn-place WYSIWYG editor extension for Bolt CMS
In-place WYSIWYG editor extension for Bolt CMS
Using the current build:
[05-Jan-2015 18:58:49 UTC] PHP Strict Standards: Declaration of Bolt\Extension\Bolt\Editable\ExtensionHelper::addCSS() should be compatible with Bolt\BaseExtension::addCSS($filename, $late = false, $priority = 0) in /***/***/extensions/vendor/bolt/editable/src/ExtensionHelper.php on line 8
See #6
When you install Editable from bolt admin this will crash website and need to delete extension manually. Also it was great to have image upload feature like this plugin for CKEditor http://ckeditor.com/addon/uploadimage
Hi
Sorry to interrupt you once again.
It seems the mediaembed
option isn't working properly?
Can you take a look at this as well?
Thanks.
FYI, I have opened an issue in bolt github:
bolt/bolt#4319
ErrorException thrown with message "Access level to Bolt\Extension\Bolt\Editable ExtensionHelper::$config must be public (as in class Bolt\BaseExtension)"
Stacktrace: #0 in ..\extensions\vendor\bolt\editable\src\ExtensionHelper.php:145
I experienced the above error during installation. (Bolt 2.2.11)
Seems fixed by making $config public.
The path that the browser looks for is:
http://extensions/vendor/bolt/editable/assets//ckeditor/startup.js
The problem is that two slashes are present at the beginning of the paths.
I have patched it changing the line 119 of ExtensionHelper:
$this->app['extensions']->$addResource(str_replace("//","/",$relpath) . '/' . $filename, $late, $priority);
Hi
Here's another one:
I've forked my own version of startup.js so I can fine-tune Editable's CKEditor (by adding extra parameters in the CKEDITOR.config
object).
However, for some reason or the other allowedContent = true
is working properly, but inserting any self-defined tag string won't.
I discovered this when I plugged in Bolt's default wysiwyg allowedContent string (in config.yml) and my FontAwesome icons (<i> tag
) were being filtered whenparsed by Editable (despite correct allowance of the tag).
Here's the stuff I'm talking about:
CKEDITOR.config.extraPlugins = 'editable';
// Extra parameters
CKEDITOR.config.autoParagraph = false;
CKEDITOR.config.allowedContent = true;
vs
CKEDITOR.config.extraPlugins = 'editable';
// Extra parameters
CKEDITOR.config.autoParagraph = false;
CKEDITOR.config.allowedContent = 'p i(*); strong em strike cite blockquote code ul ol li dl dt dd br h2 h3 h4 h5 h6;a[!href,title];img[!src,width,height,alt,title]{width,height,text-align,float};table thead tbody tr th td[*]{*}(*)';
Thanks for the great support!
Hi
I don't see any save button and the changes also don't save?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.