<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121622888" />
  <subtitle>Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121622888</id>
  <updated>2026-10-15T12:00:23Z</updated>
  <dc:date>2026-10-15T12:00:23Z</dc:date>
  <entry>
    <title>RE: RE: Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122250582" />
    <author>
      <name>Marco Napolitano</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122250582</id>
    <updated>2023-11-17T22:33:58Z</updated>
    <published>2023-11-17T17:20:16Z</published>
    <summary type="html">&lt;p&gt;Hi Prasad,&lt;/p&gt;
&lt;p&gt;I have the same problem with a portlet in the control panel of a
  7.4.3.52 installation: no editor shown and the same error
  &amp;quot;Requires 3.0 opt-in&amp;quot;. Well I have the same also for the
  discussions taglib...&lt;/p&gt;
&lt;p&gt;How exactly did you resolve? I tried to add
  the &amp;quot;javax.portlet.version=3.0&amp;quot; property in the component
  annotation but nothing changed. I tried to recompile, redeploy,
  restart the server: nothing.&lt;/p&gt;
&lt;p&gt;Olaf is there some other hidden configuration to do?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;Marco&lt;/p&gt;</summary>
    <dc:creator>Marco Napolitano</dc:creator>
    <dc:date>2023-11-17T17:20:16Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121623438" />
    <author>
      <name>Prasad Vallabhaneni</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121623438</id>
    <updated>2023-01-03T07:17:52Z</updated>
    <published>2023-01-03T07:17:52Z</published>
    <summary type="html">&lt;p&gt;Hi Olaf,&lt;/p&gt;
&lt;p&gt;After adding the portlet 3.0 it worked with out error. Earlier looks
  like some cache issue. Thank you for your support.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Prasad Vallabhaneni&lt;/p&gt;</summary>
    <dc:creator>Prasad Vallabhaneni</dc:creator>
    <dc:date>2023-01-03T07:17:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121623311" />
    <author>
      <name>Prasad Vallabhaneni</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121623311</id>
    <updated>2023-01-02T09:48:00Z</updated>
    <published>2023-01-02T09:47:59Z</published>
    <summary type="html">&lt;p&gt;Hi Olaf,&lt;/p&gt;
&lt;p&gt;Thank you for your response. Do we require portlet 3.0 to be enabled
  for WYSIWYG editor? I added theportlet version in the @component,
  still I am received the error and the WYSIWYG editor is not visible&lt;/p&gt;
&lt;pre&gt;
&lt;code class="language-java"&gt;&amp;quot;@Component(
		immediate = true,
		property = {
			&amp;quot;com.liferay.portlet.display-category=category.sample&amp;quot;,
			&amp;quot;javax.portlet.version=3.0&amp;quot;,
			&amp;quot;com.liferay.portlet.header-portlet-css=/css/main.css&amp;quot;,
			&amp;quot;com.liferay.portlet.instanceable=true&amp;quot;,
			&amp;quot;javax.portlet.display-name=Announcement&amp;quot;,
			&amp;quot;javax.portlet.init-param.template-path=/&amp;quot;,
			&amp;quot;javax.portlet.init-param.view-template=&amp;quot;+AnnouncementsDisplayPortletKeys.VIEW_PATH,
			&amp;quot;javax.portlet.name=&amp;quot; + AnnouncementsDisplayPortletKeys.ANNOUNCEMENT,
			&amp;quot;javax.portlet.resource-bundle=content.Language&amp;quot;,
			&amp;quot;javax.portlet.security-role-ref=power-user,user&amp;quot;
		},
		service = Portlet.class
	)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Prasad Vallabhaneni&lt;/p&gt;</summary>
    <dc:creator>Prasad Vallabhaneni</dc:creator>
    <dc:date>2023-01-02T09:47:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121623101" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121623101</id>
    <updated>2023-01-03T07:16:40Z</updated>
    <published>2023-01-02T09:09:00Z</published>
    <summary type="html">&lt;p&gt;&amp;quot;Requires 3.0 Opt In&amp;quot; typically refers to Portlet Spec 3.0.
    &lt;a
    href="https://help.liferay.com/hc/en-us/articles/360044149512-Portlet-3-0-API-Opt-In"&gt;Here's
    how to opt in&lt;/a&gt;.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2023-01-02T09:09:00Z</dc:date>
  </entry>
  <entry>
    <title>Adding the tag liferay-editor for WYSIWYG editor is giving UnsupportedOpera</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121622887" />
    <author>
      <name>Prasad Vallabhaneni</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121622887</id>
    <updated>2023-01-01T06:17:52Z</updated>
    <published>2023-01-01T06:17:52Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We require a WYSIWYG editor in custom JSP and we added the below
  lines in the custom jsp. When this jsp is loaded it is
  giving java.lang.UnsupportedOperationException: Requires 3.0 opt-in
  and the editor does not come up.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;pre&gt;
&lt;code class="language-java"&gt;&amp;lt;%@ taglib uri=&amp;quot;http://liferay.com/tld/editor&amp;quot; prefix=&amp;quot;liferay-editor&amp;quot; %&amp;gt;

&amp;lt;div class=&amp;quot;alloy-editor-container&amp;quot;&amp;gt;
    &amp;lt;liferay-editor:editor
    		contents=&amp;quot;Default Content&amp;quot;
    		cssClass=&amp;quot;my-alloy-editor&amp;quot;
    		editorName=&amp;quot;alloyeditor&amp;quot;
    		name=&amp;quot;myAlloyEditor&amp;quot;
    		placeholder=&amp;quot;description&amp;quot;
    		showSource=&amp;quot;true&amp;quot; 
    /&amp;gt; 
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;p&gt; &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;We are using Liferay DXP 7.4.13.U54 Version. Can you please help in
  getting the WYSIWYG editor in custom jsp. Do we need to add / update
  any config files&lt;/p&gt;
&lt;p&gt;Error log:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;2023-01-01 06:06:38.433 ERROR
    [http-nio-8080-exec-4][IncludeTag:128] Current URL /announs
    generates exception: java.lang.UnsupportedOperationException:
    Requires 3.0 opt-in&lt;br /&gt; java.lang.UnsupportedOperationException:
    Requires 3.0 opt-in&lt;br /&gt;     at
    com.liferay.portlet.internal.PortletRequestImpl.getRenderParameters(PortletRequestImpl.java:523)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portlet.internal.PortletURLImpl._initMutableRenderParameters(PortletURLImpl.java:1642)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portlet.internal.PortletURLImpl.&amp;lt;init&amp;gt;(PortletURLImpl.java:1317)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portlet.internal.PortletURLImpl.&amp;lt;init&amp;gt;(PortletURLImpl.java:117)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portlet.internal.RenderURLImpl.&amp;lt;init&amp;gt;(RenderURLImpl.java:44)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portlet.internal.PortletURLFactoryImpl._create(PortletURLFactoryImpl.java:236)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portlet.internal.PortletURLFactoryImpl.create(PortletURLFactoryImpl.java:161)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portal.kernel.portlet.PortletURLFactoryUtil.create(PortletURLFactoryUtil.java:107)
    ~[portal-kernel.jar:?]&lt;br /&gt;     at
    com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactoryUtil$LiferayPortletResponseRequestBackedPortletURLFactory.createControlPanelPortletURL(RequestBackedPortletURLFactoryUtil.java:240)
    ~[portal-kernel.jar:?]&lt;br /&gt;     at
    com.liferay.portal.kernel.portlet.RequestBackedPortletURLFactoryUtil$LiferayPortletResponseRequestBackedPortletURLFactory.createControlPanelRenderURL(RequestBackedPortletURLFactoryUtil.java:253)
    ~[portal-kernel.jar:?]&lt;br /&gt;     at
    com.liferay.item.selector.web.internal.ItemSelectorImpl.getItemSelectorURL(ItemSelectorImpl.java:227)
    ~[?:?]&lt;br /&gt;     at
    com.liferay.item.selector.web.internal.ItemSelectorImpl.getItemSelectorURL(ItemSelectorImpl.java:261)
    ~[?:?]&lt;br /&gt;     at
    com.liferay.item.selector.editor.configuration.internal.BaseEditorConfigContributor.getItemSelectorPortletURL(BaseEditorConfigContributor.java:66)
    ~[?:?]&lt;br /&gt;     at
    com.liferay.item.selector.editor.configuration.internal.ImageEditorConfigContributor.populateConfigJSONObject(ImageEditorConfigContributor.java:61)
    ~[?:?]&lt;br /&gt;     at
    com.liferay.portal.editor.configuration.EditorConfigProvider.lambda$getConfigJSONObject$0(EditorConfigProvider.java:45)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portal.editor.configuration.BaseEditorProvider.visitEditorContributors(BaseEditorProvider.java:66)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portal.editor.configuration.EditorConfigProvider.getConfigJSONObject(EditorConfigProvider.java:43)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portal.editor.configuration.EditorConfigurationFactoryImpl.getEditorConfiguration(EditorConfigurationFactoryImpl.java:43)
    ~[portal-impl.jar:?]&lt;br /&gt;     at
    com.liferay.portal.kernel.editor.configuration.EditorConfigurationFactoryUtil.getEditorConfiguration(EditorConfigurationFactoryUtil.java:33)
    ~[portal-kernel.jar:?]&lt;br /&gt;     at
    com.liferay.frontend.editor.taglib.servlet.taglib.EditorTag._getData(EditorTag.java:468)
    ~[bundleFile:?]&lt;br /&gt;  &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Prasad Vallabhaneni&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Prasad Vallabhaneni</dc:creator>
    <dc:date>2023-01-01T06:17:52Z</dc:date>
  </entry>
</feed>
