Forum

Thread tagged as: Problem, Redactor

Perch 3 Redactor - not useable

Sorry to keep posting about Perch 3 with Redactor, but it is the Editor used in most of my installs and therefore is important to my sites.

I am finding it impossible to highlight a line of text to make it a heading, with out the line above being formatted with the same style.

alt text for image

My Diagnostics:

Template:

<perch:content id="text" type="textarea" label="Text" html="true" editor="redactor" imagewidth="640" imageheight="480" />
Perch information

Perch Runway: 3.0.4
Production mode: Production (100)
Installed apps: content (3.0.4), assets (3.0.4), categories (3.0.4)
DB driver: PDO
DB tables: perch3_backup_plans (0), perch3_backup_resources (0), perch3_backup_runs (0), perch3_categories (0), perch3_category_counts (0), perch3_category_sets (0), perch3_collection_index (0), perch3_collection_items (0), perch3_collection_revisions (0), perch3_collections (0), perch3_content_index (156), perch3_content_items (26), perch3_content_locks (1), perch3_content_regions (5), perch3_menu_items (8), perch3_navigation (0), perch3_navigation_pages (0), perch3_page_routes (0), perch3_page_templates (7), perch3_pages (5), perch3_resource_log (24), perch3_resource_tags (55), perch3_resources (5), perch3_resources_to_tags (110), perch3_settings (20), perch3_user_passwords (0), perch3_user_privileges (27), perch3_user_role_privileges (2), perch3_user_roles (2), perch3_users (1)
Users: 1
App runtimes:
<?php
    $apps_list = [ 
    ];
Editor plug-ins:
H1: aecec8c4aa4cf67a529d17d0e9d3e7f6
L1: fa71a4809903f074254c872acf0dfb07
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
headerColour: 8ed1e3
content_singlePageEdit: 1
helpURL:
siteURL: /
hideBranding: 1
content_collapseList: 1
lang: en-gb
installedAt: 3.0.4
update_3.0.4: done
headerScheme: light
update_runway_3.0.4: done
latest_version:
on_sale_version: 3.0.4
dashboard: 0
hide_pwd_reset: 0
siteOffline: 0
content_hideNonEditableRegions: 1
content_frontend_edit: 0
content_skip_region_list: 0
logoPath: /perch/resources/hfh-healthcare-logo-2017.png
PERCH_DEVELOPMENT: 10
PERCH_STAGING: 50
PERCH_PRODUCTION: 100
PERCH_SITEPATH: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder
PERCH_SCHEDULE_SECRET: PCs6rWqqeeqPgcBc
PERCH_DB_USERNAME: root
PERCH_DB_SERVER: localhost
PERCH_DB_DATABASE: hfh_new_local
PERCH_DB_PREFIX: perch3_
PERCH_EMAIL_FROM: simon@sly-deisgn.co.uk
PERCH_EMAIL_FROM_NAME: Simon Clay
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder/perch
PERCH_CORE: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder/perch/core
PERCH_RESFILEPATH: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder/perch/resources
PERCH_RESPATH: /perch/resources
PERCH_HTML5: 1
PERCH_TZ: UTC
PERCH_RUNWAY: 1
PERCH_ERROR_MODE: DIE
PERCH_DATE_LONG: %d %B %Y
PERCH_DATE_SHORT: %d %b %Y
PERCH_TIME_SHORT: %H:%M
PERCH_TIME_LONG: %H:%M:%S
PERCH_RUNWAY_ROUTED:
PERCH_STRONG_PASSWORDS:
PERCH_ASSET_VERSION: ed79f7a54b300ef2b1e6
PERCH_DEBUG:
PERCH_PREVIEW_ARG: preview
PERCH_TEMPLATE_PATH: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder/perch/templates
PERCH_TEMPLATE_FILTERS:
PERCH_DEFAULT_DOC: index.php
PERCH_DEFAULT_EXT: .php
PERCH_PRODUCTION_MODE: 100
PERCH_XHTML_MARKUP:
PERCH_RWD: 1
PERCH_HTML_ENTITIES:
PERCH_SSL:
PERCH_STRIPSLASHES:
PERCH_PROGRESSIVE_FLUSH: 1
PERCH_PARANOID:
PERCH_FORCE_SECURE_COOKIES:
PERCH_DEFAULT_BUCKET: default
PERCH_TRANSLATION_ASSIST:
PERCH_PASSWORD_MIN_LENGTH: 6
PERCH_MAX_FAILED_LOGINS: 10
PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR
PERCH_VERIFY_UPLOADS:
PERCH_PRIV_ASSIST:
PERCH_AUTH_PLUGIN:
PERCH_DB_CHARSET: utf8
PERCH_DB_PORT:
PERCH_DB_SOCKET:
PERCH_APPS_EDITOR_PLUGIN: markitup
PERCH_APPS_EDITOR_MARKUP_LANGUAGE: markdown
Hosting settings

PHP: 5.6.28
Zend: 2.6.0
OS: Darwin
SAPI: cgi-fcgi
Safe mode: not detected
MySQL client: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
MySQL server: 5.6.34
Free disk space: 769.02 GB
Extensions: Core, date, ereg, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, SPL, iconv, intl, json, ldap, mbstring, session, standard, mysqlnd, mysqli, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, mysql, SimpleXML, soap, sockets, exif, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, cgi-fcgi, imap, gettext, mcrypt, pgsql, pdo_pgsql, igbinary, memcached, mhash
GD: Yes
ImageMagick: No
PHP max upload size: 32M
PHP max form post size: 32M
PHP memory limit: 128M
Total max uploadable file size: 32M
Resource folder writeable: Yes
Session timeout: 24 minutes
Native JSON: Yes
Filter functions: Yes
Transliteration functions: Yes
PHP_FCGI_CHILDREN: 4
PWD: /Applications/MAMP/fcgi-bin
PHP_FCGI_MAX_REQUESTS: 200
__CF_USER_TEXT_ENCODING: 0x1F5:0x0:0x2
ORIG_SCRIPT_NAME: /fcgi-bin/php5.6.28.fcgi
ORIG_PATH_TRANSLATED: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder/perch/core/settings/diagnostics/index.php
ORIG_PATH_INFO: /perch/core/settings/diagnostics/index.php
ORIG_SCRIPT_FILENAME: /Applications/MAMP/fcgi-bin/php5.6.28.fcgi
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/?extended
QUERY_STRING: extended
REQUEST_METHOD: GET
SERVER_PROTOCOL: HTTP/1.1
GATEWAY_INTERFACE: CGI/1.1
REDIRECT_URL: /perch/core/settings/diagnostics/index.php
REDIRECT_QUERY_STRING: extended
REMOTE_PORT: 55153
SCRIPT_FILENAME: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder/perch/core/settings/diagnostics/index.php
SERVER_ADMIN: you@example.com
DOCUMENT_ROOT: /Users/simonclay/Dropbox/Clients/HFH Care/New Website Design/Website Folder
REMOTE_ADDR: ::1
SERVER_PORT: 8888
SERVER_ADDR: ::1
SERVER_NAME: hfhnew
SERVER_SOFTWARE: Apache
PATH: /usr/bin:/bin:/usr/sbin:/sbin
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-gb
HTTP_REFERER: https://hfhnew:8888/perch/core/settings/diagnostics/
HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Safari
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_UPGRADE_INSECURE_REQUESTS: 1
HTTP_CONNECTION: keep-alive
HTTP_COOKIE: PHPSESSID=93f178da020e83a13845e4a192572b3a; cmsa=1; _ga=GA1.1.1033874148.1495107299; _gid=GA1.1.1334077652.1495196386
HTTP_HOST: hfhnew:8888
REDIRECT_STATUS: 200
REDIRECT_HANDLER: php-fastcgi
FCGI_ROLE: RESPONDER
PHP_SELF: /perch/core/settings/diagnostics/index.php
REQUEST_TIME_FLOAT: 1495200084.76
REQUEST_TIME: 1495200084
argc: 1
Simon Clay

Simon Clay 127 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Is this our core version or one you've installed on your own?

Simon Clay

Simon Clay 127 points

The Core version.

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Can we see your template?

Is there anything in your Console?

Simon Clay

Simon Clay 127 points

No errors or warnings in Console.

Template is text_block.html:

<perch:content id="text" type="textarea" label="Text" html="true" editor="redactor" imagewidth="640" imageheight="480" />

I agree - Reactor with Perch 3 is not very user-friendly.

If you use back space at the beginning of the paragraph it starts to delete the characters from the previous paragraph rather than joining the 2 paragraphs together.

Plus there's no way to view the source code.

I've had to revert to using CKEditor (yuck!)

Will Perch 2 Redactor editor addon work with Perch 3?

Glen

Drew McLellan

Drew McLellan 2638 points
Perch Support

They're the same editor. There isn't a difference between Redactor II in Perch 2 and Redactor II in Perch 3, save for the configuration of the toolbar.

Simon Clay

Simon Clay 127 points

There is a difference in using it though Drew.

As Glen mentions, there is also an issue (I suspect related to the main issue of this thread) when deleting at the start of a paragraph (to bring the sentence up to the line above for example) where the last character on the previous line is deleted.

deleting in redactor

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you using Firefox?

Simon Clay

Simon Clay 127 points

I usually use Safari, but have tested in Safari, Firefox and Chrome (on Mac) with the same issue.

Happens to us on Chrome (Windows 10)

Drew McLellan

Drew McLellan 2638 points
Perch Support

Redactor have made a bunch of changes lately, so see how you fare when we ship an updated version. I don't think any of this is influenced by anything in Perch.

Simon Clay

Simon Clay 127 points

Will do. Thanks Drew.