Simple Content Editor

Two big bugs fixed in this update. First - if you ran the tag in edit mode and the data file didn’t exist, you would get an error. Secondly - if you had more than one editor on the page, you wouldn’t get the correct behavior. This should be ok now.

Note that the tag saves data in the Application scope, and now also saves data in the request scope to keep down on the HTML it outputs. It still outputs the JavaScript function N times, but I’m not so worried about that.

You can download the tag here.

Thanks to Emmet McGovern for finding these issues.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Comments