When using tinymce, remember to paste the HTML tag <poll poll-id="'POLL ID'"> in

Every time I attempt to paste in the code editor, it cuts off my tag. The editor simply won't allow it... I'm at a loss, I've exhausted all options.

Is there anyone who can assist me?

<div class="polls form" id="poll-container" ng-app="poll">
<poll poll-id="'POLL ID'"></poll>
</div>

Please help!

<div class="polls form" id="poll-container" ng-app="poll"></div>

extended_valid_elements: 'poll[poll-id|defer|language|src|type]',
custom_elements: "*[*]",
valid_elements: "*[*]",

or

extended_valid_elements: "*[*]",
custom_elements: "*[*]",
valid_elements: "*[*]",

I've tried numerous other things... but nothing seems to work :(

Answer №1

There seems to be an issue with Tinymce when the tag is left empty. Simply inserting a character inside it prevents it from being removed.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

The Vue warning message states: "An error occurred during rendering: TypeError - Unable to access the 'Id' property of an undefined or null reference."

After testing it with various browsers such as Chrome, Firefox, Opera, and Internet Explorer, I noticed that the error only occurs in Firefox. In my Vue.js code, I have two computed properties that change almost simultaneously. When I modify my select box ...

Utilizing precise data types for return values in React hooks with Typescript based on argument types

I developed a react hook that resembles the following structure: export const useForm = <T>(values: T) => { const [formData, setFormData] = useState<FormFieldData<T>>({}); useEffect(() => { const fields = {}; for (const ...

Error: A TypeError occurred with the startup because it was unable to read the property 'Collection' as it was

Recently, I encountered a series of problems one after another. The first issue was: TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client To resolve this problem, I made changes to my code from: const Discord = require(" ...

Retrieving the initial element from an array when a certain parameter is left blank

Looking at the following array: const data = [ {id: 1, courses: [{title:"course1.1", results:[]}, {title:"course1.2", results:[]}]}, {id: 2, courses: [{title:"course1.1", results:[]}, {title:"course1.2",results:[]}]}, ]; I am attempting to retriev ...

Is there a way to delay loading 'div' until a few seconds after the 'body' has been fully loaded?

Is there a way to delay the appearance of the "text-container" div after the image is displayed? I have attempted to achieve this using JavaScript with the following code: <script> window.onload = function(){ var timer = setTimeout("showText()",700 ...

"Sorting functionality in Amcharts with dynamic movement of the div as the chart scroll bar is used

After exploring the question discussed here, I discovered that using li wasn't the most suitable option for me. Therefore, after further investigation and following the guidance provided in the example here, I successfully managed to create a customiz ...

Is there a way to drop a pin on the Google Maps app?

Is there a way to pinpoint the specific location on Google Maps? <google-map id="map-container" width="100%" height="100%" class="maps"></google-map> ...

The search bar is updated with the page number that is chosen

I have been working on creating a search engine using elasticsearch and PHP. Initially, the live data search functionality with AJAX was functioning properly. However, when I incorporated pagination, the search query got replaced by the page number. Conseq ...

Ensure that the HTML input element only accepts positive values, including decimal numbers

I need to build an input field that only accepts positive numbers, including decimal values. Leading zeros are not allowed, and users should not be able to paste invalid values like -14.5 into the field. Here is my current implementation: <input type= ...

After sending an HTML Gmail using Nodemailer, some rules may be missing from the CSS

I am attempting to send HTML content via Nodemailer to my Gmail account. Initially, I sent the email as plain text to ensure everything was working properly. const email = { from: emailAddress, to: sendTo, subject: ...

Retrieving posted data in SailsJS

I attempted to retrieve the post data in my controller methods using the code snippet below: req.body.name Unfortunately, this approach did not yield the desired results. ...

DIV will not show the Real Ajax Uploader interface

I've hit a roadblock. I recently purchased the Real Ajax Uploader Source codes and it functions perfectly on its own. However, when I attempt to display it in a DIV, things go haywire - only showing one DIV with non-functional JS code inside. There ar ...

Ways to determine the vertical size of a React component

Currently, I am dynamically generating a list of Symbol(react.element) by utilizing the map function to iterate through an array and incorporate each element's HTML tags. My question is: How can I determine the height of each individual rendered Symbo ...

Using the <video> element is creating a gap between itself and the element following it

I am facing an issue with a video background on my webpage. The video is perfectly positioned, but it is creating a large gap between itself and the next element. Despite checking for margins or paddings in the inspection tool, I cannot seem to find the so ...

CSS Dialect Debate: Container or Wrapper - Which is the Best Term to

Can you explain the distinction between a container and a wrapper, as well as their respective meanings? ...

Having trouble with the setHours function in React not behaving as anticipated?

I'm having trouble adjusting the time in my React application using the setHours method: function App() { let currHour = new Date().setHours(15); return ( <div> <h1>{currHour}</h1> </div> ); } Inst ...

Leveraging the power of Jquery's .each method inside a PHP foreach iteration

I am new to utilizing jquery, and I encountered an issue with using the .each function within a php foreach loop. I am attempting to create a table that calculates quantity, unit price, and total price. Since I don't know how many table rows the user ...

Tips on utilizing emmet effectively through copy and paste

When I have an emmet snippet like this one: .row>.col>(.row>.col.bg-sucess>br*2)+(.row>.col.bg-danger>br)+(.row>.col.bg-warning*3) and I paste it into my vscode from any source, it doesn't register as an emmet snippet. So I ofte ...

Navigate to a URL when App.js mounts using componentDidMount

Currently, I am working on a feature that requires a user to complete their profile upon logging into the app. If a user logs in and has not completed their profile, they should be redirected to a specific URL whenever they try to navigate to any page (exc ...

"Text data will be automatically cut at the end of a page and continue

I encountered the following issue As depicted in the image The data is not being displayed properly In the next td, the last character 3 is also printed on the next line Is it possible to avoid page footer and header without adjusting the page margin? ...