خرید بک لینک

Vote count: 0

I have the following data structure (sample):

Folder1
  - Folder2
    - Snip1
    - Snip2
  - Folder3
    - Snip3
  - Snip4
  - Folder4
    - Snip5

There is no limit on nesting of folders inside one another

I need to allow the user to insert a particular snip whenever he/she right-clicks on a textarea. Now, I can either flatten the above data to:

- Snip1
- Snip2
- Snip3
- Snip4
- Snip5

to simply create context menu entries. But, I want better user experience so I will prefer something like:

enter image description here

to simulate the folder structure in the actual data.

Question: Is it possible to generate such type of context menu items' structure though Chrome extensions?

I have looked at the docs, but found nothing useful.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 15 فروردين 1395 ساعت: 13:40

صفحه بندی