I'm new in cakePHP and I need to have a custom input field in my blog post.
I explored:
ckeditor - problematic in file uploading from directory.
TinyMCE - Having problem in integrating new version to cakePHP 2.3.8.
Can someone direct me to some up-to-date sample of these editors? or any guide how to make my own custom editor. Or any suggestions what other alternatives I can use?
So I hope I got that right: you need a WYSIWYG editor on your CakePHP blog.
You do not want to use ckeditor as you are experiencing file uploading problems.
After a quick search fpr "wysiwyg cakephp" I found several links, including a "setup guide":
http://bakery.cakephp.org/articles/galitul/2012/04/11/helper_tinymce_for_cakephp_2
More on tinymce helpers...
http://bakery.cakephp.org/articles/daibach/2008/07/15/tinymce-helper-1
Another link collection:
http://bakery.cakephp.org/articles?by=tinymce
if you are looking for another WYSIWYG editor try the following link list:
http://bakery.cakephp.org/articles?by=wysiwyg
Or this editor:
https://github.com/josegonzalez/cakephp-wysiwyg-helper
Hope that helps...
Related
The Wagtail example of using entities as given in this page of documentation isn't working for me. I am following the third example of using Entities which is supposed to create a button for stock price but no button is appearing for me in the rich text field in the admin editor. I have created a minimum reproducible example which demonstrates just this problem. https://github.com/kiwiheretic/stockentity. I am using Wagtail 4.1.1 which I understand is the latest version.
Can anyone help me see what I have missed and why the button doesn't appear as expected?
This or a similar question was asked in the Wagtail Slack. To get the button to appear, it either needs to be included in the features list when you create a new RichTextField OR you need to add it to the default configuration using the WAGTAILADMIN_RICH_TEXT_EDITORS setting.
How to insert dynamic gist code in the middle of posts generated by Wagtail (Django Cms)?
I searched the documentation of wagtail but did not find anything that could help me automatically insert the github codes.
Gist is one of the built in content types supported by Wagtail's embedded content feature. Within a rich text field, editors can use the 'media' toolbar icon to enter the URL to the Gist page, and it will appear embedded in the rich text content. Within a StreamField, the developer can EmbedBlock to the set of available block types, and the editor will then be able to enter the Gist URL into that field.
I am new to ReactJS and IPFS, trying to create webpages with textarea where, when I type in textarea of webpage 1 it should reflect on the other and vice versa. Also, I need to do this with ipfs. Any help in understanding how to proceed on this. I tried installing yjs, http-server and ipfs. used textarea binding, but couldn't able to replicate. Help me with steps on how I can achieve this.
You actually have access to some good examples on how to do this, see:
Decentralized Real-Time Collaborative Documents https://blog.ipfs.io/30-js-ipfs-crdts.md
The video tutorial of the above post https://www.youtube.com/watch?v=-kdx8rJd8rQ
Here is a fully built app that uses the tech above https://peerpad.net
We plan to use ExtJS with CKEditor.
I saw that there is a port of TinyMCE for ExtJS.
Is it be possible to write a CKEditor wrapper for ExtJS?
What I am concerned most about is the event handling (ExtJS defines its own implementation).
I found some information about the TinyMCE port for ExtJS: https://github.com/Qtx/TinyMCETextArea5/blob/master/doc/instructions.pdf
Thank you for sharing your experience about this topic in advance.
There is an extension for ExtJS 3 available on GitHub:
https://github.com/tocco/extjs3-ckeditor-extension
We use it in production, it works fine.
Does anyone have a confirmed/tested working way of setting up a rich WYSIWYG (like CKEditor or TinyMCE) with support for syntax highlighting (for pasting and sharing java/php/etc.) in Drupal 7.10?
I have now tried a variety of combinations, and I have struggled to get any of them to work in Drupal 7.10. Here is what I have tried:
CKEditor (3.6.2) using CKEditor module (7.x-1.6) with Syntax Highlighter library and
Syntax Highlighter Module (7x-1.1). I followed betuts.com/guide-install-syntax-highlighter-ckeditorckeditor-syntax-highlighter-plugin-drupal-7.
Problem: I could not get a code button into my CKEditor. I just would not appear no matter what I did - perhaps it has something to do with the new drag-and-drop
method of adding buttons that has replaced the old text-based one.
CKEditor (3.6.2)with CKEditor module (7.x-1.6) GeSHi Filter (7x-1.0) module and GeSHi libarary following this guide peterpetrik.com/blog/ckeditor-and-geshi-filter.
Problem: Same as above, I cannot seem to get the code button to appear in my CKEditor.
WYSIWYG module with CKEditor and Google Code Prettifier module + library.
Problem: Although this solution is simple and works beautifully with no editor, I simply cannot find a good way of getting CKEditor (or any of the other RTEs) to stop HTML-escaping code inside <pre> tags.
I appreciate your help (this is my first post :-)!
After some more work I got the following combination to work. I also did a more elaborated guide here.
Using WYSIWYG module with CKEditor library. I can insert my code into pre tags (using the Formatted style), and this should also be possible with most other RTEs you can use with the WYSIWYG module.
For the markup itself I installed the Prettify module with the Google Code Prettify library. This will syntax highlight any code within pre or code tags. BUT if you also enable the prettify filter, you will get unwanted html-escapes inside your tags. This is what caused me to think it was CKEditor who did the escapes as described in scenario 3 above.
So this is verified to work with Drupal 7.10, WYSIWYG 7-2.1, and Prettify 7-1.x-dev.
Lars,
We ran into similar issue on our site when posting to our own site and had to modify CKEditor plugin.
Modified plugin code is posted on https://github.com/dbrain/ckeditor-syntaxhighlight/tree/ckeditor-4