|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
498 bytes
|
| Rev | Line | |
|---|
| [9af201e] | 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports["default"] = isContentEditable;
|
|---|
| 7 | var _jsxAstUtils = require("jsx-ast-utils");
|
|---|
| 8 | function isContentEditable(tagName, attributes) {
|
|---|
| 9 | var _prop$value;
|
|---|
| 10 | var prop = (0, _jsxAstUtils.getProp)(attributes, 'contentEditable');
|
|---|
| 11 | return (prop === null || prop === void 0 ? void 0 : (_prop$value = prop.value) === null || _prop$value === void 0 ? void 0 : _prop$value.raw) === '"true"';
|
|---|
| 12 | }
|
|---|
| 13 | module.exports = exports.default; |
|---|
Note:
See
TracBrowser
for help on using the repository browser.