Recently Browsing 0 members
No registered users viewing this page.
Does anyone have an idea how to limit a Textarea field with CKEditor to just one line/row?
I'm using the Textarea field in a repeater and CKEditor because it needs to hold formulas. I would use a simple text field, but I need the formatting options like super-/subscript, underline etc.
None of the below methods seem to be working.
Are there any other methods you may know or have used before that can restrict CKEditor to a single row? Or should I use a completely different approach for entering/formatting the content?
I tried these approaches:
#1 Redirecting enter and shift+enter keys
When the doNothing plugin is enabled CKEditor won't load on the edit page - the space is blank. There's a parsing error. I tried to modify the plugin - no luck.
#2 Using the blockedKeystrokes function that was introduced in CKEditor 4
as a plugin (13 = enter key) config.blockedKeystrokes( 13, CKEDITOR.SHIFT + 13 ); Getting: config.blockedKeystrokes is not a function. Tried also with editor.blockedKeystrokes
in the config.js and config-fieldname.js
config.blockedKeystrokes = [ 13, CKEDITOR.SHIFT + 13 ]; is getting ignored. does nothing.
in the Input field settings (Custom Config Options) in ProcessWire blockedKeyStrokes: 13, CKEDITOR.SHIFT + 13 is getting ignored. does nothing.
Thank you so much in advance.
By Roberts R
Fresh install ProcessWire 3.0.39 + multilangual support
In video it shows how it goes. And I can't figure it out. It happens for few of my sites.
td;tl : Upload 5 image in images field -> Save -> 2 left.
EDIT : Files are in "/assets/files/id"
I am working on a site which involves a lot of image upload fields, 99% of the time it works perfectly but I have noticed that every so often image variations will be missing.
Like the original uploaded image is fine but maybe 1 or 2 out of the variations is just blank.
The variation files will appear within the assets folder but they will be just in name only without any actual image content.
Since its quite a random thing I am finding it rather difficult to figure out why this happens?
Is there a way to change the input options for the images field?
I am trying to figure out if it would make sense to use an external script like Zenphoto as a central media library/manager. How could I connect that with Processwire?
'Choose File' in the images field would have to be able to open that 3rd party media library or a directory on the server or some cloud service instead of (only) the client file manager.
Could justb3a's field type module Image Extra be part of the solution? I will try that and report back. Other field types/modules?
I know there is a pro module Media Manager that does look very slick, but would prefer to make this work with a mature, tested 3rd party script if a central media gallery is never going to be a core Processwire feature.