Owner: ihayredinov
Group members: 2175
Are you new to Elgg and wish to build a new plugin or to customize an existing one to your liking? Do you need an advise, a tip or an idea? Are you looking for the best approach in achieving the results you need? And most importantly, are you ready to do the work yourself, spend time learning programming languages, understanding the script and respecting the coding standards?
If you answered yes, then this group is for you.
Those of us, who have been in this community long enough, understand the value of sharing the knowledge and educating the newcomers - at the end of the day it saves all of us time and effort.
Please read the GUIDELINES before posting:
http://community.elgg.org/pages/view/835629/group-guidelines
hmmm this might be a remnant from a time where there was a toggle to show/hide the editor. This is no longer a feature, so this might not be possible anymore.
What would be the usecase for being able to 'later' toggle an editor?
Hi,
Thanks a lot for your answer.
A toggle to show/hide the editor was I unbelievable feature from my point of view, especially for modern special media platform.
Nowadays, almost all the web social media offers such functionality because in most cases, users just need a "textarea" when they want to comment on articles or wall. However, they also need to be able to switch (toggle) from "textarea" to modern editor based on their need. That's why I think the feature was really useful.
I will need some guidance if possible to re-implement the toggle to show/hide the editor
Regards,
I had a look at the code. I was correct. The 'visual' toggle was removed when we switched to CKeditor 5 (when we released Elgg 5).
If you want ckeditor to not initialize when using a longtext input field you can pass 'editor' => false to the view, but currently there is no way for the user to activate the editor afterwards. If you do not want a editor at all you can use the plaintext input field.
We do not think the usecase is strong enough to have this kind of feature present in Elgg by default. You are free to develop such a feature yourself of course. For inspiration have a look at this: https://ckeditor.com/docs/ckeditor5/latest/features/restricted-editing.html#demo
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.