Where is the autocomplete list of all heading tags, which was available in TinyMCE4 when you clicked the empty Url field in the Insert link plugin? - tinymce

TinyMCE v4 Insert link dialog had an option where you could click the empty Url field and it listed all headings included in the content. When you selected one of these headings, then an id attribute with a generated id value was automatically added to the selected heading tag and a link was created to that heading id. You can see it in action at basic example from TinyMCE v4 docs.
To reproduce
Go to the basic example from TinyMCE v4 docs.
insert the cursor in the editor
hit +K to display Insert link dialog (or right click and choose Link)
click or double click the empty Url field
an autocomplete list of all headings present in the content is provided to choose from
select one and push the Ok button
A link is inserted to the selected heading
Insert link dialog showing autocomplete of all headings in TinyMCE v4
Is this feature still available in TinyMCE v6?
Or has Tiny introduced regression at v5 and/or did they fail to mention that this is no longer supported?
I expected this to be available in TinyMCE v5 and TinyMCE v6, but it isn't.
basic example from TinyMCE v5 docs
basic example from TinyMCE v6 docs
This regression was not mentioned in any of the upgrade docs or release notes.

Related

How to enable hyperlinks in grid

I have a document that contains a grid (Among others).
One column in the grid has full hyperlinks leading to a ticketing system, i.e.
https://ticketsystem.internal.company.com/tickets/ticket1337
I want to enable users to click on the URL and open the ticket in a new browserwindow.
How do I do that?
I assume the url is an attribute form, if you right click on the column header you should be able to create the link (below the example in web, but it works similarly also in Developer).
The attribut needs to be formatted with HTML tags to be a clickable link, using to encapsule the URL-string.
This is done in the data model.

How to get element id in google forms

I want to get the id of an element in google forms. I found on the internet that it can be done by right clicking on the element and opening inspect element. It is working for older forms but, for new forms, it doesn't show any id attribute. I am posting both images of inspect element.
Old forms:
New forms:
In new form google have replace id with name attribute.So do one thing, write something in textbox then rightclick on textbox and open inspect element, Here you will find item tag with name attribute which is the key you want
For eg,
<input name="entry.123456" >
Maybe I can help you in finding the id's of the element.
After submitting the form you can look for headers{Form Data} in the network section of developer tools.
You will find something like this..
entry.102708304: "Your response"
102708304 is the id..
Hope my answer was useful. Thank You.
Try pressing Ctrl+U when on the Google Website. In Firefox this will show up the complete HTML Code where you can search better. There has to be set an Id, because otherwise the text in the element couldn't be accessed
hi this has changed a bit,
you need to get a pre filled link via 3 dot menu then prefilled link , copy it into an editor and confirm these entries.
I could not find it visible anywhere in the source code and there are a ton of JS names that seem random and 0 name inputs on my form

TinyMCE / Prestashop - get HTML content

I'm currently working on a website and I have to use Prestashop.
I created a back office interface that allows the user to write, edit and delete articles. So I put a tinyMCE editor in it.
The problem is that when I click on 'save' to store the article in the database, it only stores raw text, without the styling content (html tags, bold text etc)
I would like to know how to get the whole content, including html tags, styling etc.
Thank you.
Ok so all I had to do was to change self::TYPE_STRING to self::TYPE_HTML in my Article.php file.

TYPO3 tt_news : No code given

I just inherited this TYPO3 project and have a bunch of tasks to perform with it (adding this here, and that there, etc.) and I'm at the task "Add news to the front page" and "Add a RSS feed to the site"
Well, the tt_news extension is installed and I have created 1 test news. Now I added a page content plugin of type "News" and configured it from the best of my knowledge, following the outdated manual provided with the extension, saved the page, cleared the cache and refreshed the frontend page to see this :
...What does it mean and how do I make the extension work?
Edit the content element containing tt_news extension and at the Plugin tab in select field What to display choose default view ie: Standard list view (LIST)
Also:
make sure that in Content Element's settings you choose correct
folder with tt_news records in field Other settings > Page(s)
with tt_news records
tt_news records are created by default with Hidden flag set to true, make sure that the checkbox is unchecked. (BTW this behaviour can be changed with TCAdefaults.tt_news.hidden=0 in PageTS or UserTS)

MODX: How to insert links to other resources in TinyMCE

Am I missing something? When inserting links to other resources, it seems like there should be a "resource picker" that auto inserts the [[~id]] tag for internal links. Is such a "picker" available from the TinyMCE editor in MODX Revolution?
I mean I don't mind using the resource syntax, but I don't see my users being comfortable having to learn and remember it.
When I click on the "Insert/edit link" button, this is the dialog I get:
Clicking on the "Browse" button to the right of "Link Url" gives me the following dialog:
I don't see anything that allows me to pick a resource.
I'm using MODX Revolution 2.2.1-pl (traditional) on IIS 7.5. There could be a possible issue there.
I figured it out, I was definitely missing something. The "Insert/edit link" dialog has a search box which auto completes as you type the name of existing documents into it. Selecting a document from there inserts the document's ID with the proper syntax.
There should be.
When editing text if you highlight a word to be used as a link and then click on the Edit/Insert link icon (a chain link) there is a "Link List" select box that contains all your resources selecting one will populate the link url with the [[~id]] of the selected resource.
In the MODX Revo manager better use the ACE-Editor (Extras/Package/download extras choose Ace) for buiding up your template.
Now you may drag a Ressource from the Ressource-Tree on the left and drop it into your code in the Ace-Window.
This is the easiest way to create a Ressource-Link.