WYSIWYG inside of a repeatable duplicate Source button for inline and pop-up

Permalink Browser Info Environment
This is for my client work. We didn't buy the license (but our client did).
I've also tested on a fresh install of 8.3.2, and I can confirm that it duplicate the symptom there.

Please see the attached image.
I think inline "source" button and pop-up "source" buttons got revealed in CKEditor if a WYSIWYG element is placed inside of repeatable.

It's fine if the WYSIWYG element is not repeatable.

Would you check?


1 Attachment

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

Look for:

$core_editor = Core::make('editor');

You can add this code afterwards:

if($core_editor->getPluginManager()->isSelected('sourcearea')) {

That will remove the "source dialog". The default (non-repeatable) editor does this by default for some reason within a function that is called. Don't know why though.

Kind regards,

biplob replied on at Permalink Reply
I've used


instead of

$core_editor-> getEditorInitJSFunction();

Which actually does the same I think.

public function outputStandardEditorInitJSFunction()
        $options = [
            'disableAutoInline' => true,
        if ($this->getPluginManager()->isSelected('sourcearea')) {
        return $this->getEditorInitJSFunction($options);

How about this?
ramonleenders replied on at Permalink Reply
Biplob... that's something better to be using indeed. Then you'd just have to rename all "getEditorInitJSFunction" appearances in the form.php file and you're done. Didn't know of that function, so will update Block Designer with this change! Thanks.

Kind regards,


concrete5 Environment Information

Various environment

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
Block Designer (2.8.2), Block Designer Pro (2.8.4), Majorca (0.9.0), Yandex Maps (0.9.1)

# concrete5 Overrides
blocks/blocktwo/add.php, blocks/blocktwo/icon.png, blocks/blocktwo/controller.php, blocks/blocktwo/config.json, blocks/blocktwo/composer.php, blocks/blocktwo/db.xml, blocks/blocktwo/view.php, blocks/blocktwo/edit.php, blocks/blocktwo/form.php, blocks/blocktwo, blocks/repeatable/add.php, blocks/repeatable/icon.png, blocks/repeatable/controller.php, blocks/repeatable/css_form/repeatable-ft.form.css, blocks/repeatable/css_form, blocks/repeatable/config.json, blocks/repeatable/composer.php, blocks/repeatable/db.xml, blocks/repeatable/js_form/handlebars-helpers.js, blocks/repeatable/js_form/handlebars-v4.0.4.js, blocks/repeatable/js_form, blocks/repeatable/auto.js, blocks/repeatable/view.php, blocks/repeatable/edit.php, blocks/repeatable/form.php, blocks/repeatable

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

# Server Software

# Server API

# PHP Version

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, yaz, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 512M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 32M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 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.