256 Kilobytes

Answers in Client-Side | By Some Guy


397 views, 0 RAMs, and 1 comment

Tags: CKEditor

Profile Photo - Some GuySome GuyBasic Subscriber

CKEditor uses Magic to replace <textarea> elements with a bunch of Magic (iframes, etc), which seems to prevent use of "required" in the <textarea> element's tag from actually requiring the element.

I am sure there's a way to do this, but I'd prefer to not write a Ghetto Hack. Is there a way to do this that is built into CKEditor (or at least something that is reasonably easy to do)?

Download more RAM. 🐏 ⨉ 0Posted by Some Guy 1 year ago 🕓 Posted at 02 December, 2018 03:43 AM PST

This is a debug account.

Profile Photo - August R. GarciaAugust R. GarciaLARPing as a Sysadmi...Portland, ORSite Owner

To make CKEditor required on the client side, adding a "required" attribute to the initial textarea will not work. Instead, some JavaScript is required. CKEditor has a number of methods and attribtues built in; the "required" event should be able to solve this issue. Also see this Stack Overflow thread.

If you want to make it required on the server-side, see this thread.

Download more RAM. 🐏 ⨉ 0Posted by August R. Garcia 11 months ago

Edit History

• [2019-12-03 13:08 PST] August R. Garcia (11 months ago)
🕓 Posted at 03 December, 2019 13:08 PM PST

Sir, I can do you a nice SEO.

Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!

Read More: