Back to ProBlog Support

Shapeless
Shapeless

I have installed ckeditor on the RC version. How do you enable it with ProBlog?

axomat
axomat

View the plugin details on the web site and then click add plugin and follow the instructions. It is as easy as that.

Shapeless
Shapeless

I changed the content type in the fields.yaml. It then gave me an error. I believe its a compatibility issue

axomat
axomat

You have to provide a lot more information for us to be able to help

Shapeless
Shapeless

I am trying to add the ckeditor to problog plugin.

To enable it with the RC version I first had to do this: https://octobercms.com/plugin/shahiemseymor-ckeditor/compatibility-with-rc-build

Then, I went into the the problog plugin

radiantweb/problog/models/post/fields.yaml and radiantweb/problog/models/post/fields_markdown.yaml

I then change the content type from

<pre><code> content_markdown:
  tab: radiantweb.problog::lang.createpost.tabs.content
  stretch: true
  cssClass: no-padding
  type: Radiantweb\Problog\Modules\Backend\Formwidgets\Markdown</code></pre>

to

content_markdown:
      tab: radiantweb.problog::lang.createpost.tabs.content
      stretch: true
      cssClass: no-padding
      type: ShahiemSeymor\Ckeditor\FormWidgets\Wysiwyg
axomat
axomat

And what is the error

Shapeless
Shapeless

Sorry,

Here is the error I am receiving.

http://gator.lunaclicks.com/themes/marketmoney/assets/images/error.png

I also do not see a ckeditor tab on the left when I click on the admin settings.

axomat
axomat

If you cant see it on the settings page then you have a problem. Is it correctly installed? Check the Settings/Updates page for the list of installed plugins.

Shapeless
Shapeless

When I install it it only works if I change

shahiemseymor/ckeditor/src/Barryvdh/Elfinder/ElfinderServiceProvider.php and replace

$this->package('barryvdh/laravel-elfinder'); by

$this->pathsToPublish('barryvdh/laravel-elfinder');

I think it's a RC compatibility issue. Because when I update the plugin it breaks my whole site unless I make that change.

axomat
axomat

Ah ok if you had explained that first...

You should report this in the ckeditor forum, the plugin has not been updated for RC so that is probably the source of your problem.

ChadStrat
ChadStrat

I'm confused why you're modifying the markdown version instead of the normal editor version? You should go to your settings and change that to the normal editor and change that form yaml instead. I also am wondering how I can accommodate ckeditor for the Optimizer. I don't now if it will work?

ChadStrat

Shapeless
Shapeless

Where do I find the form yaml for that? I'm not sure what you mean by accommodate for the optimizer.

I saw in the ckeditor forum that it was updated for ProBlog, so by trial and error I started doing what the directions were for the regular rainlab blog when you want to use the ckeditor there.

Shapeless
Shahiem
Shahiem

You dont have to change a yaml field. You can easily change the content to ckeditor with the switcher on the settings page.

I found a bug in my plugin, I'll fix that in a couple of days. But I'm currently working on several things

1-14 of 14