Skip to content
View in the app

A better way to browse. Learn more.

Invision Developers

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
New Invision Marketplace

HTML Editor

Featured Replies

HTML Editor

HTML Editor - application allows you to change the HTML code of messages and reviews. Created to replace the outdated Edit HTML of posts.

Possibilities:

  • Select users/groups (only admins) that can change HTML code.

  • Enable/disable logging.

  • Add/remove icon next to the link.

Supports applications:

  • Pages

  • Forums

  • Commerce

  • Events

  • Blogs

  • Personal Messages

  • Gallery

  • Downloads

File Information

Submitter Kirill Gromov

Submitted 08/27/25

Category Free apps for Invision Community 5

View File

HTML Editor

Attempted to install this, in v5.0.11 and started receiving the following errors

TypeError: IPS\Member::inGroup(): Argument #1 ($group) must be of type IPS\Member\Group|array|int, string given, called in /scripts/applications/htmleditor/Application.php on line 34 and defined in /scripts/system/Member/Member.php:2201
Stack trace:
#0 /scripts/applications/htmleditor/Application.php(34): IPS\Member->inGroup()
#1 /scripts/applications/htmleditor/extensions/core/UIComment/forumsPost.php(73): IPS\htmleditor\Application::canEditHtml()
#2 /scripts/system/Output/UI/UiExtension.php(103): IPS\htmleditor\extensions\core\UIComment\forumsPost->menuItems()
#3 /scripts/system/Content/Content.php(1943): IPS\Output\UI\UiExtension->run()
#4 /scripts/system/Content/Comment.php(2059): IPS\Content->ui()
#5 /scripts/static/templates/forums_front_topics.php(849): IPS\Content\Comment->menu()
#6 /scripts/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->post()
#7 /scripts/static/templates/forums_front_topics.php(2603): IPS\Theme\SandboxedTemplate->__call()
#8 /scripts/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postContainer()
#9 /scripts/static/templates/forums_front_topics.php(4249): IPS\Theme\SandboxedTemplate->__call()
#10 /scripts/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic()
#11 /scripts/applications/forums/modules/front/forums/topic.php(718): IPS\Theme\SandboxedTemplate->__call()
#12 /scripts/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage()
#13 /scripts/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute()
#14 /scripts/applications/forums/modules/front/forums/topic.php(83): IPS\Content\Controller->execute()
#15 /scripts/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute()
#16 /scripts/index.php(16): IPS\Dispatcher->run()
#17 {main}

Is there anything that needs to be done after installing?

Alright, did some editing and seem to of gotten it working:
Application.php:

K97EFoZ.png
Settings.php:
kddLAdr.png

Hello,

We recently upgraded our test site from IPS 4.7 to 5.0.15. After I installed your app, I went to the control panel for HTML editor and tried to turn on the option for Group permissions, but the system would not save my settings.

Screenshot 2026-02-13 at 1.08.43 PM.png

When I went to my forum listpage, I got this error:

Screenshot 2026-02-13 at 12.58.12 PM.png

Here is error log entry:

The URL of page the error occurred on was https://stage.npnparents.org/forums/topic/133-start-new-topic-anonymously-6232025/

Type: template_error

TypeError: IPS\Member::inGroup(): Argument #1 ($group) must be of type IPS\Member\Group|array|int, string given, called in /home/ec2-user/stage.npnparents.org/applications/htmleditor/Application.php on line 34 and defined in /home/ec2-user/stage.npnparents.org/system/Member/Member.php:2238

Stack trace:

#0 /home/ec2-user/stage.npnparents.org/applications/htmleditor/Application.php(34): IPS\Member->inGroup('4,12')

#1 /home/ec2-user/stage.npnparents.org/applications/htmleditor/extensions/core/UIComment/forumsPost.php(73): IPS\htmleditor\Application::canEditHtml()

#2 /home/ec2-user/stage.npnparents.org/system/Output/UI/UiExtension.php(103): IPS\htmleditor\extensions\core\UIComment\forumsPost->menuItems(Object(IPS\forums\Topic\Post))

#3 /home/ec2-user/stage.npnparents.org/system/Content/Content.php(1988): IPS\Output\UI\UiExtension->run(Object(IPS\forums\Topic\Post), 'menuItems', Array)

#4 /home/ec2-user/stage.npnparents.org/system/Content/Comment.php(2054): IPS\Content->ui('menuItems', Array, true)

#5 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(3074): IPS\Content\Comment->menu()

#6 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postHeader(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), 'pid', Array)

#7 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(2639): IPS\Theme\SandboxedTemplate->__call('postHeader', Array)

#8 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), '', Array)

#9 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(4433): IPS\Theme\SandboxedTemplate->__call('postContainer', Array)

#10 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, NULL, NULL, Array)

#11 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(706): IPS\Theme\SandboxedTemplate->__call('topic', Array)

#12 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage()

#13 /home/ec2-user/stage.npnparents.org/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute()

#14 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(83): IPS\Content\Controller->execute()

#15 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute()

#16 /home/ec2-user/stage.npnparents.org/index.php(16): IPS\Dispatcher->run()

#17 {main}

Backtrace:

#0 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(78): IPS\Log::log('TypeError: IPS\\...', 'template_error')

#1 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(2639): IPS\Theme\SandboxedTemplate->__call('postHeader', Array)

#2 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), '', Array)

#3 /home/ec2-user/stage.npnparents.org/static/templates/forums_front_topics.php(4433): IPS\Theme\SandboxedTemplate->__call('postContainer', Array)

#4 /home/ec2-user/stage.npnparents.org/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, NULL, NULL, Array)

#5 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(706): IPS\Theme\SandboxedTemplate->__call('topic', Array)

#6 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage()

#7 /home/ec2-user/stage.npnparents.org/system/Content/Controller.php(125): IPS\Dispatcher\Controller->execute()

#8 /home/ec2-user/stage.npnparents.org/applications/forums/modules/front/forums/topic.php(83): IPS\Content\Controller->execute()

#9 /home/ec2-user/stage.npnparents.org/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute()

#10 /home/ec2-user/stage.npnparents.org/index.php(16): IPS\Dispatcher->run()

#11 {main}

How can I fix these issues? I turned off your app for now so that we can continue to test IPS 5.0.

Thank you.

  • Author
On 2/13/2026 at 10:12 PM, NPN80dolsch said:

We recently upgraded our test site from IPS 4.7 to 5.0.15. After I installed your app, I went to the control panel for HTML editor and tried to turn on the option for Group permissions, but the system would not save my settings.

Hello. You must update the app to the latest version.

Can your app cover
- the fact of adding a button into the editor ?
- Having all existing groups into settings, not only ACP access groups

I was not able to enable it on Pages -> Database - New records

Edited by Rushaway

On 3/2/2026 at 11:14 AM, Rushaway said:

Can your app cover
- the fact of adding a button into the editor ?
- Having all existing groups into settings, not only ACP access groups

I was not able to enable it on Pages -> Database - New records

This app doesn't work on new records? What about editing ATF on the frontend?

  • Author
On 3/2/2026 at 7:14 PM, Rushaway said:

Can your app cover
- the fact of adding a button into the editor ?
- Having all existing groups into settings, not only ACP access groups

I was not able to enable it on Pages -> Database - New records

Hello.

1) No, It doesn't change the code directly in the editor. It uses its own editor to modify the post's HTML content.

2) For security reasons, only administrators can have the button.

On 3/2/2026 at 7:14 PM, Rushaway said:

I was not able to enable it on Pages -> Database - New records

This works for database records too.

21 hours ago, YourSharona said:

This app doesn't work on new records? What about editing ATF on the frontend?

What's ATF?

2 hours ago, Kirill Gromov said:

What's ATF?

ATF = After the fact.

I see from your reply to Rushaway, it does work on the backend in Pages Database.

Thanks.

Edited by YourSharona

So after installing this, am I correct to understand that there is not a way to utilize html at the outset of a posting? Only after a post has been created, can I then edit it in html?

Playing with this some more, I see I can not get a custom block to work.

This is the code used:

<div class='ipsSpacer_top' style='text-align: center; width: 100%;'>
     {block="my block ID"}
</div>

Of which, does work within the Raw HTML block.

Any ideas?

Edited by YourSharona

8 minutes ago, Kirill Gromov said:

The application cannot force IPS to do something it does not do, it is just an HTML editor.

I guess I don't understand.

If I use the block RAW HTML, and insert the above code, it displays the custom block.

Using this app, it doesn't display a Custom Block. All other code seems to display just fine, not sure why this would work.

Please excuse my ignorance. Thanks.

4 hours ago, Kirill Gromov said:

Where exactly do you want to display the RAW HTML block using my app?

I'm sorry. Perhaps I didn't explain my self clearly. Let me try for more clarity here.

You said: The application cannot force IPS to do something it does not do, it is just an HTML editor.

What I was trying to say is that, The block, Raw HTML will let me incorporate a custom block and display its contents. Where my understanding is lacking is when you say that your html App cannot force IPs to do something it does not do. I was merely trying to understand why a custom block would work within the Raw HTML block but not within your HTML app.

To be exact here, for my application and want.

On a Database Page, I can place a Raw HTML block on page and incorporate this code:

<div class='ipsSpacer_top' style='text-align: center; width: 100%;'>
     {block="my block ID"}
</div>

If I try placing that code into the Database Page editor, it will not display that block of code as it does when using the Raw HTML Block. Instead what displays is just: {block="usat-side-bar-block"}.

I do hope the above is a bit clearer than my previous attempt.

Just came to the understanding that IPS does not search/parse blocks inside post content, and that is the reason why a custom block will not work inside of a post.

Not sure if this is the right place to ask, but I use the Tutorials app from SOSInvision, which relies heavily on the editor functions. I was wondering if it would be possible to add it to the list of supported applications?

I am experiencing an issue when adding HTML to Pages. After saving the HTML, the text of the Page Title expands/stretches unexpectedly.

If I remove the HTML and replace it with a simple test word, the title formatting goes back to normal.

I have attached before and after snapshots of the issue for reference. Any help resolving this would be appreciated!

Before.png

After.png

Edited by Morpheus

This issue has been resolved. It all revolved around the HTML loading an external .css file. The file did not accept the h1h6 styling rules. Removing those rules allowed the title to return to normal but misaligned the text in the HTML output. To fix this, I wrapped the entire HTML code in a div with a unique ID and replaced all the global h1h6 rules with scoped ones targeting that ID.

I also discovered that every time I edited the external .css file, I had to increment the version number in the link tag; otherwise, the page would pull the previous cached version.

I'm not sure if it's possible, but perhaps the cache could be handled at the time of saving the HTML file. However, I believe the issue only occurs when an external .css file is called—placing the h1h6 rules directly into the custom.css of the theme did not resolve it.

Version 1.04 - Unable to add a button to the page:

<div style="text-align:center">
    <a target="_blank" rel="noopener noreferrer" class="ipsButton ipsButton_important ipsButton_medium" href="/tutorials/25_installing-a-windows-intrusion-detection-system-winids-companion-add-on/compiling-barnyard2-on-windows-for-windows-using-cygwin-r11/">
        Get tutorial!
    </a>
</div>

I found that saving forum rules after adding HTML it is sanitizing the code.

Before Saving:

<div style="text-align:center">
    <a target="_blank" rel="noopener noreferrer" class="ipsButton ipsButton_important ipsButton_medium" href="/tutorials/25_installing-a-windows-intrusion-detection-system-winids-companion-add-on/compiling-barnyard2-on-windows-for-windows-using-cygwin-r11/">
        Get tutorial!
    </a>
</div>

After:

<div style="text-align:center">
    <a target="_blank" rel="" href="/tutorials/25_installing-a-windows-intrusion-detection-system-winids-companion-add-on/compiling-barnyard2-on-windows-for-windows-using-cygwin-r11/">
        Get tutorial!
    </a>
</div>

This does not happen when adding HTML to Pages.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.