Closed (duplicate)
Project:
MaxLength
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2012 at 19:43 UTC
Updated:
26 Aug 2021 at 20:05 UTC
Jump to comment: Most recent
Comments
Comment #1
jorditr commentedAnyone? :-)
Comment #2
tammo commentedToo bad, I am also experiencing errors with this module in conjunction with Wysiwyg/CKEditor. The module does count dynamically, but once the allowed # of characters has been reached, the dit screen freezes and cannot be edited anymore. You have to edit the source, which is a no-go area for my users.
I am willing to test, but my capabilities are not programming, unfortunately...
Tammo
PS: please also test this module for the use case where people do not just type in the text, but do a paste action (with more than the allowed # of characters)
Comment #3
tammo commentedI tested a little further: the editor "freeze" occurs when you indicate the "Force text truncate", not when you leave the check box empty.
I guess it will be OK to leave the "Truncate HTML" check box checked... In my website this does not produce an error.
Comment #4
leksat commentedI tried to reproduce the problem, but got nothing. All things work as expected with any field configuration (I mean "Force text truncate" and "Truncate html" flags).
If someone can reproduce the errors, please reopen the issue and provide more info.
Comment #5
3magnus commentedIt's really simple:
More details?
P.S.: With markItUp the counter does keep working, but that is not a Wysiwyg editor, as it shows the HTML markup to the user.
Comment #6
cafuego commentedSeems to work fine with TinyMCE.
Comment #7
3magnus commentedTrue! Never tested it.
If you need/want to see both modules working, with a wysiwyg editor, TinyMCE 3.5.8 is a viable option (and only, for now).
Thanks @cafuego!
Comment #8
brandy.brown commentedI'm using CKEditor and have the truncate HTML option enabled. The js counter for remaining characters is completely inaccurate and unpredictable.
Comment #9
sk33lz commentedThe issue can be reproduced with the following module combinations.
Drupal 7.22
ckeditor 7.x-1.13
maxlength 7.x-3.x-dev (Sept 30th, 2013)
It's as if it keeps count until you press the space bar to goto the next word, then the count resets at whatever you set as the maximum on the field. If you disable the WYSIWYG on the field, the counter works just fine.
Comment #10
msningrum commentedI am using Maxlength 7.x-3.0-beta1 and CKEditor 7.x-1.13, and having the same issue
Comment #11
khaled.zaidan commented@sk33lz (and possibly @Ningy)
Have a look at the patch i submitted for this issue in comment #2:
#2267849-2: CKEditor - Counter flashes and then re-displays max character limit while typing
it might fix the issue you're having (that is, if you are still having it now after 9 months!)
Comment #12
cedeweyMarking this as a duplicate of https://www.drupal.org/project/maxlength/issues/2267849#comment-9094455