Re: prototype.js
Re: prototype.js
- Subject: Re: prototype.js
- From: Fredrik Lindgren via Webobjects-dev <email@hidden>
- Date: Thu, 14 Aug 2025 11:17:50 +0200
Yes, this is exactly the problem.
I will try the iframe route as temporary workaround, until I find the time to
rewrite the Ajax components on the page.
I have tried TinyMCE as-well but found that Quill was the most flexible for our
needs.
Thank you for your answer!
/Fredrik
> 14 aug. 2025 kl. 01:35 skrev Aaron Rosenzweig <email@hidden>:
>
> Hi Fredrik,
>
> I read a little about Quill, it is modifying DOM with methods like “each” and
> “inject” which Prototype does too. Since they both do it, they clobber each
> other and the methods may have the same name but they work differently.
>
> You have a few options:
>
> 1) Use Quill inside an iframe so you can avoid conflict with Prototype. You
> might balk at this thought but consider it a bit. It’s probably the best
> option you got.
>
> 2) While the Ajax Framework is the most common choice, there are others that
> maybe you could use instead on that page. Maybe the “ERJQueryMobile”
> framework or perhaps “MooTools” - but it requires learning those.
>
> 3) Can you avoid using Ajax on that page? that’s actually the easiest option
>
> Trying to rewrite the Ajax framework to avoid prototype JS can be done… but
> it’s not an easy button.
>
>> On Aug 13, 2025, at 3:43 AM, Fredrik Lindgren via Webobjects-dev
>> <email@hidden> wrote:
>>
>> Is there a way to opt out of using prototype.js with the Ajax framework.
>>
>> We are having problems integrating for example the quill editor due to
>> conflicts.
>>
>> Anyone have similar problems with a solution?
>>
>> /Fredrik
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >prototype.js (From: Fredrik Lindgren via Webobjects-dev <email@hidden>) |
| >Re: prototype.js (From: Aaron Rosenzweig via Webobjects-dev <email@hidden>) |