WYSIWYG extensions

Permalink Browser Info Environment
Hi

Do you know if possible to get thehttp://www.concrete5.org/marketplace/addons/icons-for-redactor... to work in the WYSIWYG please

Regards
Rob

Type: Discussion
Status: Resolved
Responsive
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Rob,

If you go to your block in application/blocks/your_block_handle/form.php you will see the following somewhere:

.redactor({


You will also see this:

"plugins": [
                    "fontcolor", "concrete5"
                ]


If you add "awesome" to this, like this

"plugins": [
                    "fontcolor", "concrete5", "awesome"
                ]


It SHOULD work. Not sure, because I haven't tried it out. Let me know if this helps!

Kind regards,

Ramon
Responsive replied on at Permalink Reply
Responsive
Hi Ramon
It worked and thank you :)
ramonleenders replied on at Permalink Reply
ramonleenders
Rob,

Glad it worked, "awesome"! Haha :)

Kind regards,

Ramon
Responsive replied on at Permalink Reply
Responsive
Hi Ramon

sorry to come back on same issue but is it also possible to get the custom styles on the WYSIWYG as well . Wanted to use the public function getThemeEditorClasses() if I can.

Cheers
Rob
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Rob,

What do you mean exactly? :)

Kind regards,

Ramon
Responsive replied on at Permalink Reply
Responsive
Hi Ramon

I don't see the "custom styles" button on my WYSIWYG like I do in the Rich text editor, not sure if should and if not is there a way to add.

Thanks
Rob
ramonleenders replied on at Permalink Reply
ramonleenders
If you can make a screenshot of what you have and what you're missing, I will try and look into it tomorrow! This way I know what to compare it with and perhaps there's some code changed in the newest version, so then I will update :)

Kind regards,

Ramon
Responsive replied on at Permalink Reply 2 Attachments
Responsive
Hi Ramon

I have attached the screen shots so should hopefully make sense. Thank you for your hrlp on this.

Regards
Rob
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Rob,

Can you confirm if Block Designer 1.2.0 is installing and working correctly for you? I do have someone with issues, but I don't have them myself (not locally nor on my hosting).

If it is working, I can come up with an update for the WYSIWYG field type. There has been a bit of a change in the coding, so I will use the updated style. This will automatically include every plugin as far as I can see, instead of setting plugins yourself.

Basically, the code is now simply:

<?php
$editor = Core::make('editor');
echo $editor->outputBlockEditModeEditor('paragraph', $paragraph);
?>


Kind regards,

Ramon
Responsive replied on at Permalink Reply 1 Attachment
Responsive
Hi Ramon

Yes just tried latest vers 1.2 on C5 5.7.4.2 and created a basic WYSIWYG block which I have just attached.

many thanks
Rob
ramonleenders replied on at Permalink Reply
ramonleenders
Hi Rob,

Version 1.2.2 has an updated WYSIWYG field type. This will make use of the Core editor as explained above. Let me know if that fullfills your needs!

Kind regards,

Ramon
Responsive replied on at Permalink Reply
Responsive
Hi Ramon

Yes that works great now , many thanks for your work on this.

Regards
Rob
ramonleenders replied on at Permalink Reply
ramonleenders
Rob,

Perfect. Glad I could help :)

Kind regards,

Ramon
ramonleenders replied on at Permalink Reply
ramonleenders
P.s. If you could leave a review, would be much appreciated too! :)

concrete5 Environment Information

# concrete5 Version
Core Version - 5.7.4.2
Version Installed - 5.7.4.2
Database Version - 20150504000000

# concrete5 Packages
Block Designer (1.1.1), Icons for Redactor (0.9).

# concrete5 Overrides
blocks/jumbotron/db.xml, blocks/jumbotron/view.php, blocks/jumbotron/config.json, blocks/jumbotron/form.php, blocks/jumbotron/icon.png, blocks/jumbotron/add.php, blocks/jumbotron/controller.php, blocks/jumbotron/edit.php, blocks/jumbotron, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, blocks/jumbotron/db.xml, blocks/jumbotron/view.php, blocks/jumbotron/config.json, blocks/jumbotron/form.php, blocks/jumbotron/icon.png, blocks/jumbotron/add.php, blocks/jumbotron/controller.php, blocks/jumbotron/edit.php, blocks/jumbotron, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.3.29

# PHP Extensions
bcmath, bz2, bz2_filter, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, http, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mailparse, mbstring, mcrypt, memcache, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SourceGuardian, SPL, SQLite, sqlite3, ssh2, standard, stats, sysvmsg, sysvsem, tidy, tokenizer, wddx, xattr, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 120
max_input_vars - 2000
memory_limit - 256M
post_max_size - 128M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 128M
http.persistent.handles.limit - -1
ldap.max_links - Unlimited
memcache.max_failover_attempts - 20
mysql.max_links - 60
mysql.max_persistent - Unlimited
mysqli.max_links - 60
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - 60
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.