aelvan / redactorwordcount-craft Goto Github PK
View Code? Open in Web Editor NEWPlugin that adds a word count to Redactor fields in Craft.
Plugin that adds a word count to Redactor fields in Craft.
Every time I update a rich text field and save the entry, all rich text fields that are below it on the same entry page in Craft become uneditable. In addition, after I update / save that rich text field, I can't click on any button on any matrix block that are below that rich text field on the entry page, and the matrix field dropdown becomes a horizontal line of buttons of the different blocks in the field, which are also not clickable.
Based on the error we were seeing in the console (included below), the good folks at Craft helped identify this plugin was the root cause (I'm using version 0.3, which I believe is the latest version). I disabled it and the issue went away.
Here is the error in the console:
Uncaught Error: Syntax error, unrecognized expression: Something about our peerless thought leadership, and how current we are.
at Function.fa.error (jquery-2.2.4.min.js?d=1490380244:2)
at fa.tokenize (jquery-2.2.4.min.js?d=1490380244:2)
at fa.select (jquery-2.2.4.min.js?d=1490380244:2)
at Function.fa [as find] (jquery-2.2.4.min.js?d=1490380244:2)
at n.fn.init.find (jquery-2.2.4.min.js?d=1490380244:2)
at n.fn.init (jquery-2.2.4.min.js?d=1490380244:2)
at n (jquery-2.2.4.min.js?d=1490380244:2)
at init.doWordCount (wordcount.js?d=1472056767:25)
at init (wordcount.js?d=1472056767:18)
at init. (redactor.js:1502)
This is nice! Any plans to add character count?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.